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~
You have to set the pickup directory explicitly. I suggest you use send using port. Bruce DiscountASP.NET www.DiscountASP.NET
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~
send using port means you do a standard smtp conversation. see http://kb.discountasp.net/article.aspx?id=10019 Bruce DiscountASP.NET www.DiscountASP.NET
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
The answer is set the smtp server to localhost see:http://community.discountasp.net/default.aspx?f=24&m=6497