1) make sure you set the SMTPMail.SmtpServer property to a valid mail server
before you call Send
2) pretty self-explanitory. check the msdn downloads area
3) most mail servers have a way of blocking relay to avoid unknown servers
from using it as a spam center. check with your Exchange administrators to
see if your web server is allowed to relay email through your Exchange
server.
-Rob Teixeira [MVP]
"Bonbon" <an*******@discussions.microsoft.com> wrote in message
news:A4**********************************@microsof t.com...
Thank you very much. Could you give me a little more detsils on this.
B
----- Rob Teixeira [MVP] wrote: -----
1) Make sure you set the smtp host name before calling Send
2) Make sure you have the latest CDO patches
3) Make sure the host isn't blocking relaying from your server
-Rob Teixeira [MVP]
"bonbon" <an*******@discussions.microsoft.com> wrote in message
news:89**********************************@microsof t.com... > I used SmtpMail class sent email in asp.net before, no problem. Now
I moved to Windows XP and Visual Studio .NET 2003. My ASP.NET app can
not send out any email. The following exception is thrown: > System.Runtime.InteropServices.COMException: The "SendUsing"
configuration value is invalid. >> I don't know how the sendusing configuration should be setup.
Checked online help, found no useful info. > Any feedback is appreciated. >> Thanx.
>> Bon
>