Exchange 2003 and ASP.NET e-mails...AAAUGH!!

  • Thread starter Thread starter Green Start Button
  • Start date Start date
G

Green Start Button

Aaaugh!
Okay, here's the deal.
The I/T department at my company has updated their Exchange Server to the 2003 version. Now, the e-mail forms I have created in ASP.NET all cough up the error "Could not access 'CDO.Message' object" ... (Grumble! Grumble!)

So the code I used to use no longer works:

Dim Body as String = ...
Dim mail As New MailMessage()
With mail
.To = "(e-mail address removed)"
.From = txtEmail.Text
.Subject = "Technical Support Request"
.BodyFormat = MailFormat.Html
.Body = Body
End With

SmtpMail.SmtpServer = "EMAIL server goes here"
SmtpMail.Send(mail)
The security restrictions with Exchange 2003 no longer allows this method to work. What options do I have / should be considered?

Any feedback is welcome.
TIA...
 
you shoudl be able to setup a relay server that that talks to the new exchange. read the doc on setting up a smtp server that forwards on you iis box.

-- bruce (sqlwork.com)

Aaaugh!
Okay, here's the deal.
The I/T department at my company has updated their Exchange Server to the 2003 version. Now, the e-mail forms I have created in ASP.NET all cough up the error "Could not access 'CDO.Message' object" ... (Grumble! Grumble!)

So the code I used to use no longer works:

Dim Body as String = ...
Dim mail As New MailMessage()
With mail
.To = "(e-mail address removed)"
.From = txtEmail.Text
.Subject = "Technical Support Request"
.BodyFormat = MailFormat.Html
.Body = Body
End With

SmtpMail.SmtpServer = "EMAIL server goes here"
SmtpMail.Send(mail)
The security restrictions with Exchange 2003 no longer allows this method to work. What options do I have / should be considered?

Any feedback is welcome.
TIA...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Can't SendMail 3
CDO.Message Error 3
Transport Failed to connect to the Server. 1
Sending Mail 1
SMTP send e-mail 1
can't send mail in html format 2
feedback form using ASP.NET and VB.NET 1
SMTP 1

Back
Top