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
I have added an umbraco contact form but it will not send an email.
I have done some googlig and people mention settings up the smtp settings
where or how do i do this??? i do not find any such default mail settings in the web config file
can somebody please point me to the file path and file i am looking for to make these changes in please
Have a look here: https://our.umbraco.com/documentation/Reference/Config/webconfig/#smtp-settings
You may need to add the section yourself.
yes i don't have that section anywhere..will add it myself and give that a go.
I have set an smtp using "MailJet"
I am now getting this error
System.FormatException: The specified string is not in the form required for an e-mail address.
at System.Net.Mail.MailAddressParser.ReadCfwsAndThrowIfIncomplete(String data, Int32 index)
at System.Net.Mail.MailAddressParser.ParseDomain(String data, Int32& index)
at System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index)
at System.Net.Mail.MailAddressParser.ParseAddress(String data)
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
at Umbraco.Forms.Core.Providers.WorkflowTypes.SendRazorEmail.Execute(Record record, RecordEventArgs e)
an ideas?? could it be due to me not having a network host ip address?? I presumed this should be the smtp servers IP address but on MailJet set up they do not provide any ip address only a host
This is my web.config mail set up:
<network host="127.0.0.1(standard umbraco one??)" port="587" userName="have taken out" password="have taken out" />
I think i am missing a setting here in my web config.. any ideas please
The from attribute should be an email address. The host attribute should hold the SMTP server's hostname (or IP). Looks like you've accidentally put the servername in the from attribute?
ah yes facepalm stupid me
I am not getting the error no more now..but can see no email is being sent.
This is proving more difficult then I thought
is there any thing else I may need to set up I have it like this now:
<smtp from= "***@outlook.com">
<network host="in-v3.mailjet.com" port="587" userName="***" password="***" />
Hi again - we've all been there (facepalming our way through :-)
Actually, there could be one last setting - in the umbracoSettings.config file there's a setting for notifications (which is also used by UmbracoForms if no sender mail is configured):
Otherwise, I'd start double-checking the hostname + port values. But you've probably already triple-checked those, so... :)
legend..that was it ..Thanks a lot for the help..finally got there
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted