« Previous Next »

Thread: sending mail with IIS 7 on 64bit system

Last post 09-04-2009 9:17 PM by steve schofield. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 08-18-2009, 8:50 AM

    • jpv2301
    • Not Ranked
    • Joined on 08-18-2009, 12:46 PM
    • Posts 1

    sending mail with IIS 7 on 64bit system

    Hello,

    I’ve encountered a problem with sending e-mail using the vb.net net.mail class and using the SmtpDeliveryMethod.PickupDirectoryFromIis option. The option SmtpDeliveryMethod.Network works fine.

     I’ve made a webappliaction than sends an e-mail. This works great on windows server 2008 on a 32 bits machine but fails on a 64 bits machine. I get the following exception:System.Net.Mail.SmtpException: Cannot get IIS pickup directory.   at System.Net.Mail.IisPickupDirectory.GetPickupDirectory()   at System.Net.Mail.SmtpClient.Send(MailMessage message)

     

    Is there a setting I can change to get this working on a 64bits system? 

     

  • 09-04-2009, 9:17 PM In reply to

    Re: sending mail with IIS 7 on 64bit system

    The smtp service on 64 bit OS uses the same server has previous versions.  I'd enable auditing, to see if there is any errors.  That is a good place to start when 'odd' errors like this happen.

    http://weblogs.asp.net/steveschofield/archive/2008/03/07/detecting-permission-issues-using-auditing-and-process-monitor.aspx

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (2 items)
Microsoft Communities