T
Teddy
I created a little test snippet to send mail via asp.net code.
Whats up with this code, I can get MM to work,
get a CDO access denied error,The addresses here are fake for this post, but
the real ones
work other than the CDO error:
Dim mm As New Mail.MailMessage
mm.To = "(e-mail address removed)"
mm.Cc = (e-mail address removed)
mm.From = "(e-mail address removed)"
mm.Subject = "TEST"
mm.Body = "This is just a test mail."
mm.BodyFormat = MailFormat.Text
SmtpMail.SmtpServer = "mail.smtp.net"
SmtpMail.Send(mm) <<FAILS with CDO Access error
however, If I change the line to the other overloaded function
SmtpMail.Send(mm.To, mm.To, mm.Subject, "Test") <<THIS WORKS
Whats up????
Thanks...
Whats up with this code, I can get MM to work,
get a CDO access denied error,The addresses here are fake for this post, but
the real ones
work other than the CDO error:
Dim mm As New Mail.MailMessage
mm.To = "(e-mail address removed)"
mm.Cc = (e-mail address removed)
mm.From = "(e-mail address removed)"
mm.Subject = "TEST"
mm.Body = "This is just a test mail."
mm.BodyFormat = MailFormat.Text
SmtpMail.SmtpServer = "mail.smtp.net"
SmtpMail.Send(mm) <<FAILS with CDO Access error
however, If I change the line to the other overloaded function
SmtpMail.Send(mm.To, mm.To, mm.Subject, "Test") <<THIS WORKS
Whats up????
Thanks...