Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendusing configuration value is invalid

Status
Not open for further replies.

touqir

Programmer
Sep 21, 2005
9
MY
Hi All!

I want to send email by using the following routine but I'm receiving an error message "sendusing configuration value is invalid". Can anybody help me out

Dim ObjMessage

SmtpMail.SmtpServer = "smtp.googlemail.com"

Set ObjMessage = CreateObject("CDO.Message")
ObjMessage.Subject = "Example CDO Message"
ObjMessage.sender = "touqir1972@yahoo.com"
ObjMessage.To = "touqir1972@yahoo.com"
ObjMessage.TextBody = "This is some sample message text."
ObjMessage.Send

 
Have a look here:
thread705-1369407

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top