Hi Jim,
There's a proposed solution for that here:
http://www.eggheadcafe.com/PrintSear...asp?LINKID=622
Dim Msg As New System.Web.Mail.MailMessage
Msg.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") =
"smtpserver"
Msg.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport")
= 25
Msg.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
Msg.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate")
= 1
Msg.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") =
"username"
Msg.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") =
"password"
Msg.To = "ds*@addr.net"
Msg.From = "sr*@addr.net"
Msg.Subject = "Subject"
Msg.Body = "Message"
System.Web.Mail.SmtpMail.SmtpServer = "smtpserver"
System.Web.Mail.SmtpMail.Send(Msg)
Let us know if this works?
"JimO" <jo***********@XXXearthlink.net> wrote in message
news:qp***************@newsread1.news.pas.earthlin k.net...
I'm trying to use system.web.mail to send a confirmation registration. I
keep getting an exception. The support at the hosting site says I need to
log into the server first. I'm finding a lot of stuff on sending mail but
nothing on how to login first - unless I want to buy something. It can't
be that difficult can it...? Where should I be looking or what do I need
to do to accomplish this.
thanks,
Jim