ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 3rd, 2003, 01:03 PM
asr asr is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 42 asr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 9 sec
Reputation Power: 6
Angry ASP Jmail Issues

Can anyone please help me with this. I have same code to send the emails. But once in a while i am getting this error messages. Could you please tell me what might be the possible reasons that makes this occur.

jmail.SMTPMail error '8000ffff'

503 must have sender and recipient first


Here are the program details:
Procedure call

SendEmail "survey@hotmail.com", "chads@hotmail.com", "", "", "Survey", myBody

Procedure

sub SendEmail(strFrom, strTo, strCc, strBcc, strSubj, strMsg)
dim oMail

set oMail = Server.CreateObject("JMail.SMTPMail&quot

oMail.Sender = strFrom

if StrHasValue(strTo) then
oMail.AddRecipient strTo
end if

if StrHasValue(strCc) then
oMail.AddRecipientCC strCc
end if

if StrHasValue(strBcc) then
oMail.AddRecipientBCC strBcc
end if

oMail.Subject = strSubj
oMail.Body = strMsg
oMail.Execute
Set oMail = nothing
end sub

Reply With Quote
  #2  
Old December 4th, 2003, 10:09 PM
karsh44's Avatar
karsh44 karsh44 is offline
Just another guy
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2003
Location: Wisconsin
Posts: 2,915 karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 13 h 35 m 6 sec
Reputation Power: 76
You are getting error messages once in a while? Is there anything different about entries that cause the error compared to entries that work?

Reply With Quote
  #3  
Old December 5th, 2003, 09:30 AM
asr asr is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 42 asr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 9 sec
Reputation Power: 6
No. They get values from the database and database doesnt have null values for this field.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > ASP Jmail Issues


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT