codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  CDO.Message sending a email automatically problems!  crmpicco at 12:34 on Tuesday, March 01, 2005
 

Can anyone tell me the limitations of CDO.Message.

I am trying to send a email automatically.

This code works when i have two of my own email addresses:

<%
pnrno="hijklmnop"
response.write "PNR No = " & pnrno & "<br>"
dim myMail
Set myMail=CreateObject("CDO.Message")
myMail.Subject="hijklmnop"
myMail.From="crmpicco@aol.com"
myMail.To="crmpicco@hotmail.com"
myMail.HTMLBody = "<html><p>Booking Confirmation from Volaro</p>"
myMail.HTMLBody = "<p>This is a email to confirm that you have changed the status of booking :"&pnrno&" to Confirmed</p>"
myMail.HTMLBody = "<p>You have successfully confirmed booking number :"&pnrno&"</p></html>"
myMail.Send

response.Write "Email SENT....."
%>

But when i change the addresses it doesnt send. How does it know that the sender is my address? Picco









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: Display swf file in pdf
•  A-Line Wedding Dresses
•  Re: how to create forum using asp.net with c# language?
•  Discount coach store
•  External hard drive recovery tips
•  Create Better Maps with Global Mapper
•  Re: How to display a message box when record is temporary stored in session/grid view
•  Sharing object in perl
•  Re: C++ Beginner question


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2012