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 547 posts 1287 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 ?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    May 23, 2013 @ 14:14
    Tim Geyssens
    0

    Doubt it, maybe permissions on the directory?

  • Sebastian Dammark 547 posts 1287 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.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    May 23, 2013 @ 15:00
    Tim Geyssens
    0

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

  • Sebastian Dammark 547 posts 1287 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.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    May 24, 2013 @ 10:29
    Tim Geyssens
    1

    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 547 posts 1287 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 597 posts 1214 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies