Copied to clipboard

Flag this post as spam?

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


  • Sebastian Dammark 583 posts 1407 karma points
    May 23, 2013 @ 13:22
    Sebastian Dammark
    0

    PickupDirectory doesn't get any emails

    I have this in my web.config

    <smtp deliveryMethod="SpecifiedPickupDirectory" from="[email protected]">
      <network host="localhost" />
      <specifiedPickupDirectory pickupDirectoryLocation="D:\Websites\mailroot" />
    </smtp>

    But it seems that no mail ever makes it to the pickup directory.
    The SMTP server works, and I can Telnet to it and send emails.

    Could this be Contour or Umbraco related ?

  • Comment author was deleted

    May 23, 2013 @ 14:14

    Doubt it, maybe permissions on the directory?

  • Sebastian Dammark 583 posts 1407 karma points
    May 23, 2013 @ 14:36
    Sebastian Dammark
    0

    I've added modify rights to Network Service and IIS_Users, så I don't think that's it.

  • Comment author was deleted

    May 23, 2013 @ 15:00

    And umbraco notification emails do those get added? (like if you subscribe to a publish event)

  • Sebastian Dammark 583 posts 1407 karma points
    May 24, 2013 @ 09:39
    Sebastian Dammark
    0

    Unfortunately I can't check that since I get YSOD when I try to setup any notifications.

  • Comment author was deleted

    May 24, 2013 @ 10:29

    Ok maybe try sending a mail from razor http://our.umbraco.org/forum/developers/razor/22536-Send-email-in-razor-macro and see if that get's added to the dir

  • Sebastian Dammark 583 posts 1407 karma points
    May 24, 2013 @ 10:55
    Sebastian Dammark
    0

    Ok, cancel everything.
    I gotta go kill a backend developer.

    Let's say I've found the problem.

    Thanx for helping out, I owe you a beer at CG13.

  • Laurence Gillian 600 posts 1219 karma points
    May 24, 2013 @ 12:28
    Laurence Gillian
    1

    A good way of test you SMTP stuff is by using the follow: (super simple!)

     <system.net>
        <mailSettings>
          <smtp deliveryMethod="SpecifiedPickupDirectory">
            <specifiedPickupDirectory pickupDirectoryLocation="c:\TestMailMessages\" />
          </smtp>
        </mailSettings>
      </system.net>

    A word of warning, if that directory doesn't exist, it will crash. And sadly it's not possible to set that directory relative to the application (e.g. ~/Awesome!)

    I'm a very big fan of using Mandrill for sending emails at the moment, 12k emails per month for free, with analytics. Top stuff.

    http://mandrill.com/

    (I don't work for them!) Lau

Please Sign in or register to post replies

Write your reply to:

Draft