View Full Version : SMPT and Smart Mail
Jrmno1
09-18-2007, 01:07 AM
Ok, so how do I send EMail to a smart mail account through my website using smtp. I am using exist .NET 2.0 code that works with non Smart Mail.
bruce
09-18-2007, 05:44 AM
I am lost!!
Can you provide us more detail? Do you get error?
Bruce
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)
Jrmno1
09-18-2007, 05:56 AM
I setup an EMail Account using the Smart Mail server.
Then from a contact form written in C# .NET 2.0. System.Net.MailAssembly. I try EMailing using SMTPto the EMail Account. It comes back tells me to try again in 900 ms. The very same code works fine on other Discount ASP Site that I work with that do not use Smart Mail. I tried using a thread to wait the required time. But this is unaccectable to the client and appears to be unreliable method.
bruce
09-18-2007, 07:57 AM
Are you setting the SMTP host on your application to "Localhost"? If not, set it to localhost should fix the problem
Bruce
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)
vBulletin® ©Jelsoft Enterprises Ltd.