Copied to clipboard

Flag this post as spam?

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


  • Ayo Adesina 445 posts 1058 karma points
    Feb 10, 2015 @ 14:25
    Ayo Adesina
    0

    Umbraco 7.2 Forms (not contour) - Emails Not Arriving

    Hey guys I have set up my forms and its all working.

    The only problem I have is, I have added a work flow so that an email is sent each time a form is submitted.

    The emails are not arriving, I am not getting any errors, and the entries are being saved.

    I have checked my smtp settings and added my email address to the umbraco.config notification section.

    I'm not sure where in the application to put a break point, as this is umbraco code, how can I see an error message or find out why exactly the emails are not being sent.

    Thanks Ayo

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Feb 10, 2015 @ 14:31
    Dennis Aaen
    1

    Hi Ayo,

    You could try check the /App_Data/Logs file to see if it reveals any related info. Usually it appears in there if something is not working when trying to send e-mails.

    And if you're not using it already you should try to use http://smtp4dev.codeplex.com/ - It can make it easier to do e-mail testing when sending. I am using it on my localhost.

    Hope this helps,

    /Dennis

  • René Andersen 238 posts 684 karma points
    Feb 16, 2015 @ 14:10
    René Andersen
    0

    Hi,

    I have the same problem and as far as I know I have set up the SMTP correctly.

    At the moment I am testing Umbraco Forms and I don't have a license. Is that why i can't sent emails when a form i submitted?

    Is it only the UI I can test?

    // René

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 16, 2015 @ 14:19
    Jan Skovgaard
    0

    Hi René

    Did you try the tool Dennis mentioned above?

    Also make sure to add a valid sender address in the /config/umbracoSettings.config file as well. And just to be sure...what does your smtp settings in the web.config look like? (you of course don't need to post the original password etc. )

    When those are in place you should be able to use the SMTP4dev tool to test that e-mail are getting through. If not usually there will be a log entry saying something about the email not being valid, blacklisted etc.

    /Jan

  • Ayo Adesina 445 posts 1058 karma points
    Feb 16, 2015 @ 14:22
    Ayo Adesina
    0

    Just so you know, my problem was SMTP settings, They were wrong, when I correct this it started working.

  • René Andersen 238 posts 684 karma points
    Feb 16, 2015 @ 14:36
    René Andersen
    0

    Hi Jan

    I am not testing on localhost, could that be the problem?

    I have not tried the tool yet. But i will do it right away. :-)

    I have put in a valid email in umbracoSettings.config

    My web config looks like this:

    <smtp>
    <network host="smtp.unoeuro.com" port="25" userName="" password="" defaultCredentials="false" />
    </smtp>

    And thanks Ayo for your reply.

    // René

  • René Andersen 238 posts 684 karma points
    Feb 19, 2015 @ 14:53
    René Andersen
    0

    Hi Jan

    Is my web config above correct or do you have anything to add?

    // René

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Feb 19, 2015 @ 15:01
    Dennis Aaen
    0

    Hi René

    To me your web config above looks correct.

    /Dennis

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 19, 2015 @ 15:06
    Jan Skovgaard
    0

    Hi René

    Yeah, looks correct to me - Is it still not working? Have you checked the /App_Data/Logs file? And could you post what your /config/umbracoSettings.config email setting looks like?

    /Jan

  • René Andersen 238 posts 684 karma points
    Feb 19, 2015 @ 15:38
    René Andersen
    0

    Thank's guys. :-)

    Is it a special part from the config file you need? It is pretty long to post here.

    // René

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 19, 2015 @ 15:46
    Jan Skovgaard
    0

    Hi René

    Just the part where you set the sender e-mail - <notification><email></email></notification>

    /Jan

  • René Andersen 238 posts 684 karma points
    Feb 19, 2015 @ 15:50
    René Andersen
    0

    Here you go:

        <notifications>
    <email>[email protected]</email>
    </notifications>
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 19, 2015 @ 16:09
    Jan Skovgaard
    0

    Hi René

    Ok, that looks fine as well - But are you still having issues with send e-mails?

    /Jan

  • René Andersen 238 posts 684 karma points
    Feb 19, 2015 @ 16:35
    René Andersen
    0

    Yes no email send but it is registred in the forms dashboard.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 19, 2015 @ 16:38
    Jan Skovgaard
    0

    Have you checked your spam folder btw?

    /Jan

  • René Andersen 238 posts 684 karma points
    Feb 19, 2015 @ 17:04
    René Andersen
    0

    Yep spam folder is checked. :-)

    Is the test license set only to work on localhost? Because I test on a live environment without a license.

    // René

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 19, 2015 @ 18:37
    Jan Skovgaard
    0

    Hi René

    That's really odd - Could you try changing the sender email address to something else like [email protected] ?

    No, it should not be a license issue. It should work fully as long as the site is running on localhost.

    /Jan

  • René Andersen 238 posts 684 karma points
    Feb 19, 2015 @ 19:02
    René Andersen
    0

    Hi Jan

    I am testing on a live website as mentioned earlier, so could that be the problem?

    // René

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 19, 2015 @ 20:14
    Jan Skovgaard
    0

    Hi René

    Aaah! Sorry, missed that part - in that case it could perhaps be a license issue.

    No chance of testing locally?

    /Jan

  • René Andersen 238 posts 684 karma points
    Feb 19, 2015 @ 20:34
    René Andersen
    0

    Hi Jan

    No problem at all. I choose to test online because I previously have had som problems testing contact forms locally.

    I will set up at local site and test it, and get back to you when it is done.

    // René

  • René Andersen 238 posts 684 karma points
    Feb 19, 2015 @ 22:00
    René Andersen
    0

    Hi Jan

    It must be because I was testing online. Now the handy little program "smtp4dev" that Dennis Aaen recommended shows that the email is sent.

    Thanks again!

    // René

Please Sign in or register to post replies

Write your reply to:

Draft