Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > CDO Message help

Reply
Thread Tools

CDO Message help

 
 
Shamaila
Guest
Posts: n/a
 
      11-22-2005
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 Removed)"
..To = "(E-Mail 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

 
Reply With Quote
 
 
 
 
PJones
Guest
Posts: n/a
 
      11-27-2005
http://www.powerasp.com/content/new/...ail_cdosys.asp


"Shamaila" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ps.com...
> 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 Removed)"
> .To = "(E-Mail 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is ("http://schemas.microsoft.com/cdo/configuration/sendusing") doing in CDO uofs76@yahoo.com ASP General 0 02-07-2007 01:09 PM
Help Needed : Error - Cannot create CDO.Message object Cyndia A. ASP General 1 01-14-2004 02:34 PM
Help Needed : Error - Cannot create CDO.Message object Cyndia A. ASP .Net 0 01-14-2004 12:45 PM
CDO for Windows 2000 vs CDO for Exchange 2000 ASP .Net 2 07-11-2003 12:31 PM



Advertisments