Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi - I have installed the following starter kit
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
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?
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.
First: It looks like you've forgot the quotes on the attribute values - if you have XML that looks like this:
smtp deliverymethod=Network [email protected]
it should look like this to be valid XML:
<smtp deliverymethod="Network" from="[email protected]"></smtp>
(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:
<network host="SMTP.SERVER.COM" port="25" userName="" password="" defaultCredentials="true" />
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 from="[email protected]">
<network host="127.0.0.1" userName="myuser" password="mypwd" />
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.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted