Jmail.SMTPMail Error '8000ffff', 503 Must Have Sender And Recipient First
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: ....
View Replies
ADVERTISEMENT
I'm trying to use JMail to send the contents of a forum. This is the code i'm using:
Set JMail = Server.CreateObject("JMail.SMTPMail")
strServer = Replace(request.servervariables("SERVER_NAME"), "www.", "")
strClientIP = request.servervariables("REMOTE_ADDR")
JMail.ServerAddress = "smtp."&strServer&":25"
JMail.Sender = "" & email & ""
JMail.Subject = "" & itemname & "(" & id & ") - " & subject & ""
JMail.AddRecipient "email@domain.com"
JMail.Body = "" & message & ""
JMail.Priority = 3
JMail.AddHeader "Originating-IP", strClientIP
JMail.Execute
Set jmail = Nothing
However, this doesn't work, and I get the error:
jmail.SMTPMail error '8000ffff'
The message was undeliverable. All servers failed to receive the message
contact2.asp, line 36
Line 36 of this script is: JMail.Execute
I am 100% sure JMail is installed, as it was previously working, and this is the script my host says to use.
View Replies
View Related
I am testing JMail through ASP on my local server so I can just swap out serverAddress when it goes live to make a simple switch with our live server.
However I KEEP getting :
The message was undeliverable. All servers failed to recieve the message
jmail.dll was installed into windows/system32 and regsvr32 jmail.dll was successful.
Here's the code; I specified :
localhost:25
mail.locahost:25
mail.localhost.com:25
127.0.0.1:25
all with and without the :25 on the end. No go. Same error. Here's my code :
View Replies
View Related
I have tried mail sending in asp but it has the following error
Error Type:
CDO.Message.1 (0x8004020D)
, and neither was found.
/New Folder/candidtech/finalsite/asp/support.asp, line 49
code is given below
------------------------------------------------------------
.....
View Replies
View Related
Has anyone tried using SMTPMail on a Windows XP Pro machine? The sys.
reqs. on their site only says W2K (and prior).
I've successfully registered SASMTP.dll, and simply trying to
instantiate it in Classic ASP with:
Dim objMailer
Set objMailer = CreateObject("SoftArtisans.SMTPMail")
results in an error:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'SoftArtisans.SMTPMail'
/test.asp, line 12
View Replies
View Related
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="123"
myMail.From=(Request.Form("email"))
myMail.To="11111@yahoo.co.uk"
myMail.TextBody=(Request.Form("comment"))
myMail.Send
%>
and i get this error
Microsoft VBScript runtime (0x800A01A8)
Object required: 'SmtpMail'
I have tried using the
SmtpMail.SmtpServer = "localhost"
in the code but no joy.
View Replies
View Related
I believe that the SMTPMail component is part of ASP.NET, although I may be wrong, but is there anyway of using it in normal ASP scripts??
I ask because I need to send an email via my script, to a preset email address and containing the same message each time it is sent, and I have my own SMTP server (linux based) which I would like to utilise.
I also cannot use CDOSYS for this, tried everything but cannot get it to work on my machine
Failing that, does anyone know of a freeware component that will enable me to put normal SMTP commands into my scripts, just so I can send an email to a specified address, containing a basic body and using the SMTP server I have.
View Replies
View Related
Ive been trying to send an email (via iis smtp virtual mail server) using the SmtpMail class in asp.net, but i keep getting a failure to deliver message. Is there something im not doing?
MailMessage mail = new MailMessage();
mail.From = "oh_neil@yahoo.com";
mail.To = "to104@gre.ac.uk";
mail.Body = "Test email";
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(mail);
View Replies
View Related
When sending an email, is it possible to include the recipients name with the email address?
View Replies
View Related
Where could i get a webpage sender/ tell a friend script to integrate to my site?
View Replies
View Related
how do I get the response from the user to an email recipient?
View Replies
View Related
I'm currently in the works of moving an asp website to my home server, and have had to change isp's etc. The idea is that when a customer clicks on a form on an asp page, the form is sent via Persits.Mail Sender to the isp's smtp server.
I've coded it all correctly, and basically it does send the emails via the isp's smtp server, but maybe once every 47 times, via repeatly sending the form. Code:
View Replies
View Related
the script works but i wanna have this email to be sent to more than one recipient (see below code in red). I did add another ObjMail1.To tag for another email recipient but doesnt work.
<%Response.Buffer=True%>
<html>
<head>
<title>Thanks</title><%
Dim salutationname,salutation,t1name,t1,t2name,t2,t3na me,t3,t4name,t4,highqualificationname,highqualific ation,checkname,check,MyNewRandomNum
Randomize
MyNewRandomNum = Round(Rnd * 100000000000)+1
salutationname = "Salutation"
salutation = Request.Form("salutation")
t1name = "Name"
t1 = Request.Form("t1")
t2name = "Telephone number"
t2 = Request.Form("t2")
t3name = "Email"
t3 = Request.Form("t3")
t4name = "Age"
t4 = Request.Form("t4")
highqualificationname = "Qualifications"
highqualification = Request.Form("highqualification")
checkname = "Options"
check = Request.Form("check")
Dim stname,st
stname = "Comments"
st = Request.Form("s1")
Dim ObjMail1,ObjMail2
Set ObjMail1 = Server.CreateObject("CDONTS.NewMail")
'CHANGE THE EMAIL ADDRESS IN QUOTES BELOW TO THE ADDRESS YOU WANT THIS MAIL SENT
ObjMail1.To = "info@abc.com "
ObjMail1.From = t3
ObjMail1.Subject = "Enquiry"& "" & "QUEUE NO: " &Trim(MyNewRandomNum)& ""
ObjMail1.Body = t1name & vbcrlf&_
t1 & vbcrlf&_
t2name & vbcrlf&_
t2 & vbcrlf&_
t3name & vbcrlf&_
t3 & vbcrlf&_
t4name & vbcrlf&_
t4 & vbcrlf&_
highqualificationname & vbcrlf&_
highqualification & vbcrlf&_
checkname & vbcrlf&_
check
ObjMail1.Send
Set ObjMail1 = Nothing
Set ObjMail2 = Server.CreateObject("CDONTS.NewMail")
ObjMail2.To = t3
ObjMail2.From = "info@abc.com"
ObjMail2.Subject = "Thanks for your enquiry."& "" & "Your QUEUE NO: " &Trim(MyNewRandomNum)& ""
ObjMail2.Body = " Hello " &"" & t1 & ".You have submitted your enquiry to us. You will hear from us shortly. " & "" & ":" & st &""
ObjMail2.Send
Set ObjMail2 = Nothing
Response.Write"<center />Thank You.You will hear from us soon. "
%>
</head>
</html>
View Replies
View Related
The form I have created is intended to send a email to an address based on what subject the user selects. Right now the form processes fine, but I receive no emails.
Dim name, email, phone, subject, message, customer, advertisement, truck, objNewMail
name = Request.Form("name")
email = Request.Form("email")
phone = Request.Form("phone")
subject = Request.Form("subject")
message = Request.Form("message")
customer = Request.Form("customer")
advertisement = Request.Form("advertisement")
message = Request.Form("truck")
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
objNewMail.From = Request.Form("email")
if ("subject") = "1" then
objNewMail.To = "mrowan@hackworthrepro.com"
'hri@hackworthrepro.com
elseif ("subject") = "2" then
objNewMail.To = "foundsheep@yahoo.com"
'dcs@hackworthrepro.com
elseif ("subject") = "3" then
objNewMail.To = "foundsheep@gmail.com"
'production@hackworthrepro.com
'else if ("subject") = "4" then
'NewMailObj.To = "bmaury@hackworthrepro.com"
'else if ("subject") = "5" then
'NewMailObj.To = "slinton@hackworthrepro.com"
'else if ("subject") = "6" then
'NewMailObj.To = "mmartin@hackworthrepro.com"
'else if ("subject") = "7" then
'NewMailObj.To = "jvivio@hackworthrepro.com"
'else if ("subject") = "8" then
'NewMailObj.To = "hri@hackworthrepro.com"
end if
objNewMail.Subject = "Message from HRI Website"
objNewMail.Body = "Name: " & name & _
"<br>Email: " & email & _
"<br>Phone: " & phone & _
"<br>Subject: " & subject & _
"<br>Message: " & message & _
"<br>Heard About HRI from: " & customer & _
"<br>" & advertisement & _
"<br>" & truck
objNewMail.BodyFormat = 0
objNewMail.MailFormat = 0
objNewMail.Send
Set objNewMail = nothing
Response.write "<p>Thank you for contacting Hackworth Reprographics, Inc. Your message has been successfully sent. You should expect a response from us within one business day. Have a great day.</p> <p>Return to <a href='default.asp'>Home Page</a></p>"
View Replies
View Related
I've been using aspmailer by Tom Germain but I don't understand how to get it to do this (or find another mailer script that will) - assign different recipient email addresses for different geographic locations, then process accordingly, depending on the geographic location selected from list on form.
View Replies
View Related
CDO (W2k) doesn't support sender's name ? I know this works:
Set objMail = CreateObject("CDO.Message")
objMail.To = Trim(strToEmail)
objMail.Sender = Trim(strFromEmail)
objMail.Subject = "REGISTRATION FINISHED"
But isn't there any support in CDO for the NAME of the Sender ??? Like:
objMail.SenderName = "Mike Jensen"
Because I would not only like to show the emailaddress in the mail I'm sending but also my name .
View Replies
View Related
I'm not new about send email with CDONTS. But one thing I don't
know.. How to send name of email sender with email. As All command
I used to use is as follow.
Dim myMail
Set myMail = CreateObject("CDONTS.NewMail")
myMail.From="tom@hotmail.com"
myMail.To="paul@hotmail.com"
myMail.Subject="Hello :-)"
myMail.BodyFormat=0
myMail.MailFormat=0
myMail.Body=HTML
myMail.Send
when the reciever recieve email. Such as in hotmail box. It will show
tom@hotmail.com as sender. But I want it to show name such as
...Tom Hariton not tom@hotmail.com But I don't know that command
to add in the script.
View Replies
View Related
try to send web form data to one person email (administrator) and also copy the sender, does anybody provide asp prototype?
View Replies
View Related
It seem that I did not configure the SMTP service on a Windows 2000 server correctly because all the email is been sent to InetpubmailrootQueue directory. Do I need to install Outlook for the email to send the mail to the recipient?
View Replies
View Related
I'm looking to distribute links to a site by mail, and then identify the users following those links. (ie. embedding user id in the url, and retrieving that data)
I think Dev sheds activate account feature does what I need, as does similar features of other sites, so I would think this is pretty standardized. Unfortunately, I can't figure out what I need to feed the search engines in order to elicit a tutorial....
View Replies
View Related
I have an ASP script for users to replying by email to job postings. I set
up the message using CDO as usual:
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.From = "blah"
objMessage.To = "myemail@comcast.net"
objMessage.TextBody = "blah"
objMessage.Send
I did not realize that objMessage.From needs to be filled in, and that
there is no vlaidation. Suppose that's how spammers work their magic.
Is there a way to determine the user's email account so I can fill in
objMessage.From ? I am thinking No, that a server app can not strip
something off a user's PC memory. Otherwise I will have to set
objMessage.From to a generic term.
View Replies
View Related
I am using ASP formmail from www.brainjar.com. I keep getting this error message:
Form could not be processed due to the following errors:
Email send failed: The server rejected one or more recipient addresses. The server response was: 550 endlessenergysystems.com.
The email address in the form is correct and does work. I have changed the settings to different email address and SMTP servers to try to figure out the issue. However I still get the same error. Here are the basic settings:
referers = Array("www.endlessenergysystems.com", "endlessenergysystems.com")
mailComp = "CDOSYS"
smtpServer = "smtp.readyhosting.com"
fromAddr = "info@endlessenergysystems.com"
View Replies
View Related
I've set up a form to email the output to two recipients.
The output is set to display the email address of the sender (this works fine), but I'd like to have the sender's name displayed instead.
Google searches haven't proved particularly fruitful and I've tried a number of things but can't seem to get it to work.
Can anyone tell me if I'm barking up the wrong tree or is this actually possible? If not, what should I do instead?
Code snippets:
emailFrom = FilterCchar(Request.Form("email"))
...
objCDOSYSMail.From = emailFrom
View Replies
View Related
I retrieve data from a database and I put the data into an array. Afterwards I want to send these data as an email using JMail. The problem is that I receive the following error when I am trying to send the email: Variable uses an Automation type not supported in VBScript. On the other hand if I try to print them on the screen there is no problem.
View Replies
View Related
I am running into a wierd error while using W3jmail. The error is: Error Is:
jmail.Message (0x8000FFFF) The message was undeliverable. All servers
failed to receive the message
/reclaim/app/email/WA_Universal_Email/JMail_VB.asp, line 126
The thing that is wierd about it is the fact that the email sends even though the above error is displayed. Has anyone run into this before? or have any suggestions on how to eliminate the error?
View Replies
View Related
I got Jmail to work fine. My problem is I need to send an email based
on somthing a customer submitted. When we receive the submission in
our system an auto-receipt email will be sent. What I need to have
happen (and cant figure out) is that email to include what was received
not just a on liner saying it was received. The information is pulled
from the db with a query. Anyone got any suggestions?
View Replies
View Related
I am currently trying to code a newsletter script with asp using jmail. I've seen hundreds of examples on the net that accomplish this but there is only one problem they all use a do while statement that sends one email at a time. When I do this the server times out because my list is so long. So I have been trying to write a scrip that uses the BCC function to send one email to everyone at once. Unfortunatly I can't seem to get it to work. Does anyone have any ideas how I can do this?
View Replies
View Related
I'm using 20/20 Applications Pure-ASP Upload. It works great as far as uploading the files to my server. Now I have another question. Can you tell me how to attach the file from my server to the email. What I need to happen is when a user attaches a file, the files is uploaded to the server and then when they click on finish the email is sent with the file attached to it. I'm using the JMail function....
View Replies
View Related
I am some what new to asp and programing. I have put together this code, so I can send out a mailing list to some users. The code looks and seams to run fine. But I dont receive any test messages during when I execute it. it's like the SMTP sever is not sending the emails....
View Replies
View Related
I can get it to work with following code:
<%
Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = "smtp.stormvision.co.uk:25" ' change this to your mail server
JMail.Sender = "a@p.com"
JMail.Subject = "Enquiry"
JMail.AddRecipient("marcus@stormvision.co.uk") 'here type in your email address again
JMail.Body = ("Email : " & Request.Form("Mailto") & vbcrlf)
JMail.appendtext("Full Name: " & Request.form("Name") & vbcrlf)
JMail.appendtext("City : " & Request.form("City") & vbcrlf)
JMail.appendtext("Telephone : " & Request.form("telephone") & vbcrlf)
JMail.appendtext("Postcode : " & Request.form("postcode") & vbcrlf)
JMail.appendtext("Comments : " & Request.form("comments") & vbcrlf)
JMail.Priority = 3
JMail.Execute
%>
The trouble is says that every email is from a@p.com
So i modified the JMail.Sender line to
JMail.Sender = Request.Form("Mailto")
But am struggling to make it work.
View Replies
View Related
I'm developing a web site with email capabilities: I have tried the free version of Jmail, now I need Jmail Professional but still don't want to buy it before having the chance to try it....
View Replies
View Related
I have a web page coded in ASP VBScript which sends a html email using the Jmail.SMTPMail object.
I am trying to attach a .csv file to the mail but when i get the mail through it won't display. It just shows this in the mail body...
This is a multipart message in MIME format. ----NEXT_BM_46A46859F09247848CB1A7C3EBE06AC2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable
Here is my code ....
View Replies
View Related
I am hoping to use JMail to read pop3 mailboxes via an ASP page. I have a tutorial from the website (http://www.dimac.net/Websites/dimac/Website/Products/w3JMail/{C7EFB42E-5C6C-49D4-91B7-00C7E9388A96}?exId={553CC37F-7EB7-4D47-907C-1B75FE043B03}) but can't get it to run on the server. Does anyone have any idea why this code will not run?? I have entered the correct username,passwords into the script.
View Replies
View Related