Sending Email on Release Servers

Discussion in 'ASP.NET 2.0' started by BlueLaser, Nov 18, 2005.

  1. Hey all-

    I had a .NET 2 app running on the beta serversthat would send email using the System.Net.Mail class. I've since ported that app to the "production" discountasp.net .NET 2 servers, but now the mail message fails to send with the following error:

    Cannot get IIS pickup directory

    Has anyone else had this trouble sending email?

    Thanks~
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You have to set the pickup directory explicitly.

    I suggest you use send using port.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Thanks for the reply Bruce.


    Can you please explain what you mean by emailing with "port"? A point to a forum with more info or a few more descriptive words on using the port method would be great.


    I'm not a .NET newbie by any standard, but this one is new to me...


    Thanks~
     
  4. Bruce

    Bruce DiscountASP.NET Staff

  5. I have created the equiviliant to the KB article mentioned above using c#.

    When I send mail to an address that is not hosted by DASP I get the follownig error:

    Mailbox name not allowed. The server response was: sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser)

    This is explained in KB article Q10010 which states I need to do a POP check before sending.

    I do not believe this is practical, does anybody have any suggestions?

    Many Thanks

    Mike
     

Share This Page