ghassanghellal
Programmer
can someone tell me why when i upload this script in my server and type the url i recieve the following error message.
jmail.SMTPMail error '8000ffff'
The message was undeliverable. All servers failed to receive the message .execute() { Trying server mail:smtp.itprovider.co.uk Error: 451 Requested action aborted: No Valid Recipients <- 220 Matrix SMTP Mail Server v(1.4) on <mailq3.fasthosts.co.uk> Simple Mail Transfer Service Ready -> EHLO fasthosts68 <- 500 Syntax Error, Command Unrecognized EHLO fasthosts68 -> HELO fasthosts68 <- 250 OK -> MAIL FROM:<info@itprovider.co.uk> <- 250 OK -> DATA <- 451 Requested action aborted: No Valid Recipients 1 of 1 servers failed
/jmail2.asp, line 31
my code is
<html>
<head>
<title>w3 JMail rocks</title>
</head>
<body>
<p align="center"><font face="Arial, geneva" size="5"> Email Form</font></p>
<%
Name = Request.Form("name"
Subject = "Regarding " & Request.Form("subject"
Recipient = Request.Form("recipient"
Body = Request.Form("body"
Set JMail = Server.CreateObject("JMail.SMTPMail"
' Below you should enter your own SMTP-server
JMail.ServerAddress = "smtp.itprovider.co.uk"
JMail.Sender = "info@itprovider.co.uk"
JMail.Subject = Subject
JMail.AddRecipient Recipient
JMail.Body = Body
JMail.Priority = 3
JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR"
JMail.Logging = True
JMail.Execute
%>
<center>
<font face="Arial, geneva" size="3">
Your email has been sent to <%= Recipient %><br>
</font>
</center>
</body>
</html>
jmail.SMTPMail error '8000ffff'
The message was undeliverable. All servers failed to receive the message .execute() { Trying server mail:smtp.itprovider.co.uk Error: 451 Requested action aborted: No Valid Recipients <- 220 Matrix SMTP Mail Server v(1.4) on <mailq3.fasthosts.co.uk> Simple Mail Transfer Service Ready -> EHLO fasthosts68 <- 500 Syntax Error, Command Unrecognized EHLO fasthosts68 -> HELO fasthosts68 <- 250 OK -> MAIL FROM:<info@itprovider.co.uk> <- 250 OK -> DATA <- 451 Requested action aborted: No Valid Recipients 1 of 1 servers failed
/jmail2.asp, line 31
my code is
<html>
<head>
<title>w3 JMail rocks</title>
</head>
<body>
<p align="center"><font face="Arial, geneva" size="5"> Email Form</font></p>
<%
Name = Request.Form("name"
Subject = "Regarding " & Request.Form("subject"
Recipient = Request.Form("recipient"
Body = Request.Form("body"
Set JMail = Server.CreateObject("JMail.SMTPMail"
' Below you should enter your own SMTP-server
JMail.ServerAddress = "smtp.itprovider.co.uk"
JMail.Sender = "info@itprovider.co.uk"
JMail.Subject = Subject
JMail.AddRecipient Recipient
JMail.Body = Body
JMail.Priority = 3
JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR"
JMail.Logging = True
JMail.Execute
%>
<center>
<font face="Arial, geneva" size="3">
Your email has been sent to <%= Recipient %><br>
</font>
</center>
</body>
</html>