Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

How can I send e-mails through exchange with authentication?

  Asked By: Madeline    Date: Jun 16    Category: Asp.net    Views: 1018
  

I'm trying usual code to send e-mail, but :

.... The "SendUsing" configuration value is invalid ....

errcode is returning

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Cheri Garcia     Answered On: Jun 16

Can you post the usual code?

 
Answer #2    Answered By: Julian Long     Answered On: Jun 16

the code  I'm using :
always "invalid value of sendusing" error eccuring...
I turned the code to smtp now, but I think this way is faster (if it
works :)


Dim oMessage As New CDO.Message()
'Create a Message Object
oMessage = CreateObject("CDO.Message")

With oMessage
'Set the properties
.To = "burciny@..."
.From = "burciny@..."
.TextBody = "This is a sample Body" 'Your TextBody
.Subject = "This is a sample Subject" 'Your Subject
.Configuration.Fields("CdoSendUsing").Value =
CdoSendUsing.cdoSendUsingExchange
.Configuration.Fields.Update()

 




Tagged: