|
| |
|
|
yisraelharris
Posts: 7 Joined: 1/3/2004 Status: offline
|
Why is My Mailer Failing? - 1/3/2004 15:58:49
I wish to generate an email but I receive an error message. My code: set Mailer = Server.CreateObject("SMTPsvg.Mailer") Mailer.FromAddress= "yisraelh@actcom.net.il" Mailer.RemoteHost = "mail.kabbalaonline.org" Mailer.AddRecipient "yisrael", "yisraelh@actcom.net.il" if Mailer.SendMail then Response.Write "Mail sent..." else Response.Write "Failure:" & Mailer.Response & ". " end if set Mailer = nothing I get the following error message: Failure:503 5.5.1 Incorrect command sequence. I would be grateful for solutions. Please note: 1. I got the same error message even when I assigned the subject and bodyText. 2. Regarding the order of assigning the FromAddress, RemoteHost and AddRecipient fields, I tried all 6 possible orders, and got the same error message each time.
|
|
|
|
yisraelharris
Posts: 7 Joined: 1/3/2004 Status: offline
|
RE: Why is My Mailer Failing? - 1/4/2004 1:06:21
If you look at my origina posting again, you'll see that I wrote the following: Please note: 1. I got the same error message even when I assigned the subject and bodyText.
|
|
|
|
yisraelharris
Posts: 7 Joined: 1/3/2004 Status: offline
|
RE: Why is My Mailer Failing? - 1/4/2004 5:07:40
Here is the code with subject and body, which still fails: set Mailer = Server.CreateObject("SMTPsvg.Mailer") Mailer.FromAddress= "yisraelh@actcom.net.il" Mailer.RemoteHost = "mail.kabbalaonline.org" Mailer.Subject = "hi" Mailer.BodyText = "hi" Mailer.AddRecipient "yisrael", "yisraelh@actcom.net.il" if Mailer.SendMail then Response.Write "Mail sent..." else Response.Write "Failure:" & Mailer.Response & ". " end if set Mailer = nothing
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|