CDO Message help

S

Shamaila

Hi I am using a similar code to send a cdo messag ei was wondering if
the below code will function w/o setting the
cdoconfig.fields
..Item(sch &"sendusing")=2
..Item(sch &"smtpserver")=<enter_mail.server_here>
..update


<%


Set cdoConfig = CreateObject("CDO.Configuration")
Set cdoMessage = CreateObject("CDO.Message")


With cdoMessage
Set .Configuration = cdoConfig
..From = "(e-mail address removed)"
..To = "(e-mail address removed)"
..Subject = "Sample CDO Message"
..TextBody = "This is a test for CDO.message"
..Send
End With


Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>


Please help
Shamaila
 

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

asp send mail cdo error 1
Send form data using CDO 3
CDO Email Help 2
CDOSYS send email with ASP 9
CDO authentication problem 2
Error in loading DLL: 'cdoConfig.Fields' 1
CDO Error 3
CDO yahoogroups mail problem 0

Members online

Forum statistics

Threads
474,056
Messages
2,570,441
Members
47,125
Latest member
MDBT

Latest Threads

Top