However, when I attempt to use the mail form, I receive the following error:
"There was an error sending your contact details.
A from e-mail address must be specified in the From property or the system.net/mailSettings/smtp config section."
My host is PipeTen - and they advised me to ask here. I have tried making the changes in web.config referred to in the following URLs
And then my webhost requires a valid email address in the From: header, which is set in the umbracoSettings.config file, look for the notifications tag:
YMMV, but this is what worked for me with the uSkinned Source starter kit on a Windows 2012 server, where 'myuser' and 'mypwd' are obviously the ones that are used at the hosting company for the account:
SMTP / Mailform problem
Hi - I have installed the following starter kit
https://uskinned.net/themes/synergy/
However, when I attempt to use the mail form, I receive the following error:
"There was an error sending your contact details. A from e-mail address must be specified in the From property or the system.net/mailSettings/smtp config section."
My host is PipeTen - and they advised me to ask here. I have tried making the changes in web.config referred to in the following URLs
http://www.pipeten.info/2008/11/when-and-where-to-use-webformpipetencouk/
https://our.umbraco.org/forum/using/ui-questions/12294-Smtp-settings
https://our.umbraco.org/wiki/how-tos/verify-that-your-smtp-settings-are-not-preventing-you-from-sending-e-mail
I see a 500 error, but I am told that the error they see is as follows:
"Configuration file is not well-formed XML " 71: "smtp deliverymethod=“Network” from=“[email protected]”
I appreciate that this may be due to me - but can anyone advise me as to what I can do to make this work?
Thanks
Hi ECL
in the /config/umbracoSettings.config file you need to specify a valid sender e-mail address I think.
Also you need to setup some valid SMTP information in the web.config file as mentioned in the post you referenced above.
I think this should work unless the theme does an override of these settings somehow.
/Jan
Hi ECL,
First: It looks like you've forgot the quotes on the attribute values - if you have XML that looks like this:
it should look like this to be valid XML:
(but the exact format depends on the file/ setting you're editing)
For my sites and webhost, this is the line I usually need to put in Web.config:
And then my webhost requires a valid email address in the From: header, which is set in the umbracoSettings.config file, look for the notifications tag:
/Chriztian
YMMV, but this is what worked for me with the uSkinned Source starter kit on a Windows 2012 server, where 'myuser' and 'mypwd' are obviously the ones that are used at the hosting company for the account:
Hi ECL,
All you need to get your theme sending Mail is to get your mailSettings correct in web.config for the account you are using.
We use sendgrid, which is a free service for up to 12,000 emails a month which should be more than enough.
https://sendgrid.com/
Cheers,
Marc
is working on a reply...