Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Sending Mail using CDO

Reply
Thread Tools

Sending Mail using CDO

 
 
Kurien Baker Fenn
Guest
Posts: n/a
 
      03-02-2005
I am using CDONTS to send a mail.There is no error in the code and it says
that the mail has been send successfully,But i am not receiving any
mails.please help.

The Code

Set vobjMail = CreateObject("CDO.Message")
vobjMail.From= Email address
vobjMail.To= Email address
vobjMail.Subject= The subject
vobjMail.TextBody= The Body
vobjMail.Send

set vobjMail=nothing
 
Reply With Quote
 
 
 
 
Steven Burn
Guest
Posts: n/a
 
      03-02-2005
CDO.Message is CDOSYS not CDONTS.

http://aspfaq.com/show.asp?id=2026
http://aspfaq.com/show.asp?id=2308


--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Kurien Baker Fenn" <> wrote in message news:664AB3C5-4699-4F92-B8F0-...
> I am using CDONTS to send a mail.There is no error in the code and it says
> that the mail has been send successfully,But i am not receiving any
> mails.please help.
>
> The Code
>
> Set vobjMail = CreateObject("CDO.Message")
> vobjMail.From= Email address
> vobjMail.To= Email address
> vobjMail.Subject= The subject
> vobjMail.TextBody= The Body
> vobjMail.Send
>
> set vobjMail=nothing


 
Reply With Quote
 
 
 
 
Kyle Peterson
Guest
Posts: n/a
 
      04-30-2005

http://www.powerasp.com/content/hintstips/asp-email.asp

"Kurien Baker Fenn" <> wrote in
message news:664AB3C5-4699-4F92-B8F0-...
>I am using CDONTS to send a mail.There is no error in the code and it says
> that the mail has been send successfully,But i am not receiving any
> mails.please help.
>
> The Code
>
> Set vobjMail = CreateObject("CDO.Message")
> vobjMail.From= Email address
> vobjMail.To= Email address
> vobjMail.Subject= The subject
> vobjMail.TextBody= The Body
> vobjMail.Send
>
> set vobjMail=nothing



 
Reply With Quote
 
Moorthy
Guest
Posts: n/a
 
      07-18-2005
First of all, You must check the SMTP service and then check is there any
firewall blocking SMTP services.

"Kyle Peterson" wrote:

>
> http://www.powerasp.com/content/hintstips/asp-email.asp
>
> "Kurien Baker Fenn" <> wrote in
> message news:664AB3C5-4699-4F92-B8F0-...
> >I am using CDONTS to send a mail.There is no error in the code and it says
> > that the mail has been send successfully,But i am not receiving any
> > mails.please help.
> >
> > The Code
> >
> > Set vobjMail = CreateObject("CDO.Message")
> > vobjMail.From= Email address
> > vobjMail.To= Email address
> > vobjMail.Subject= The subject
> > vobjMail.TextBody= The Body
> > vobjMail.Send
> >
> > set vobjMail=nothing

>
>
>

 
Reply With Quote
 
Bullschmidt
Guest
Posts: n/a
 
      07-21-2005
One thing that helped me once was to make sure the From e-mail address
is really from an e-mail account on that Web site on that server.

Also here's an interesting link:

VBScript To Send Email Using CDO
http://www.paulsadowski.com/WSH/cdo.htm
Interesting about halfway down is: Sending a text email using
authentication against a remote SMTP server

Best regards,
J. Paul Schmidt, Freelance ASP Web Designer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...

<<
I am using CDONTS to send a mail.There is no error in the code and it
says
that the mail has been send successfully,But i am not receiving any
mails.please help.

The Code

Set vobjMail = CreateObject("CDO.Message")
vobjMail.From= Email address
vobjMail.To= Email address
vobjMail.Subject= The subject
vobjMail.TextBody= The Body
vobjMail.Send

set vobjMail=nothing
>>


*** Sent via Developersdex http://www.developersdex.com ***
 
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
pls help me when i sent mail, it vil sending twice instead of once ,am using java.mail,am sending my code.... shailajabtech@gmail.com Java 0 09-28-2006 06:38 AM
CDO Mail sending error =?Utf-8?B?SWJyYWhpbS4=?= ASP .Net 3 07-26-2006 12:41 PM
Problem With CDO in sending formatted text mail k.visube@gmail.com ASP General 4 06-16-2006 06:11 AM
CDO for Windows 2000 vs CDO for Exchange 2000 ASP .Net 2 07-11-2003 12:31 PM
Sending Mail without CDO or JMail Ron ASP .Net 2 06-30-2003 10:13 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57