Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lazau Florin 74 posts 210 karma points
    Aug 18, 2016 @ 07:59
    Lazau Florin
    0

    Umbraco Form not received email

    Hi all,

    I'am using the last version of Umbraco and Umbraco forms 4.3.2. I have this configuration for smtp in web.config:

    <system.net>
    <mailSettings>
      <smtp from="florin.lazau@*****.com">
        <networ****"  port="587" />
      </smtp>
    </mailSettings>
    

    I've checked more times and in form workflow i have the correct email. Unfortunately i don't receive the email on submit. In logs i have this message :

    2016-08-18 10:56:30,530 [P3056/D2/T8] ERROR Umbraco.Forms.Core.Providers.WorkflowTypes.SendXsltEmail - There was a problem sending an email to 'florin.lazau@**.com' from Workflow for Form 'form florin' with id 'c51f9ced-bee7-4462-bd88-b231205c91b2' for Record with unique id 'bc14033c-8586-4ed4-8450-2beb1488efe1' System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: netioconnectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String& response) at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) --- End of inner exception stack trace --- at System.Net.Mail.SmtpClient.Send(MailMessage message) at Umbraco.Forms.Core.Providers.WorkflowTypes.SendEmail.Execute(Record record, RecordEventArgs e)

    I've made a simple console app to test the above smtp setting and it works fine, i've got the email.

    Can someone help me with this?

    Thanks

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Aug 18, 2016 @ 14:41
    Dennis Aaen
    100

    Hi Lazau,

    If you have the project running on your local machine, then I would recommend you to try using this lille smart tool called smtp4dev

    https://smtp4dev.codeplex.com

    With this tool you can test if you get a copy of the email, on your local machine.

    If you are getting the email on your local machine when you are trying submit the form.

    Then you know that there must be something with the SMTP settings in the web.config.

    Hope this helps,

    /Dennis

  • Lazau Florin 74 posts 210 karma points
    Aug 19, 2016 @ 08:18
    Lazau Florin
    0

    Hi Dennis,

    Thank you very much. I found the issue: my web config was the problem. I switched username with password for SMTP server.

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft