Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > HELP.. ERROR: Unable to relay for user@mail.com

Reply
Thread Tools

HELP.. ERROR: Unable to relay for user@mail.com

 
 
Tim::..
Guest
Posts: n/a
 
      06-22-2004
Can someone please help!!
This is driving me nuts...

I keep getting the following error when I run the send mail script below. I think it might be because I don't have the smtp server configurered properly or because I have to make a change on our exchange server???

We are running IIS 5 on Win2K server and using Microsoft Exchange Server 5.5 can someone please tell me how I solve this!

Thanks

Error:

Email send failed: The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for

<%
mailComp = "CDOSYS"
smtpServer = "SMTP01"
fromAddr = ""

if mailComp = "CDOSYS" then
set cdoMessage = Server.CreateObject("CDO.Message")
set cdoConfig = Server.CreateObject("CDO.Configuration")
cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
cdoConfig.Fields.Update
set cdoMessage.Configuration = cdoConfig
cdoMessage.From = fromAddr
cdoMessage.ReplyTo = replyTo
cdoMessage.To = recipients
cdoMessage.Subject = subject
cdoMessage.HtmlBody = body
on error resume next
cdoMessage.Send
if Err.Number <> 0 then
SendMail = "Email send failed: " & Err.Description & "."
end if
set cdoMessage = Nothing
set cdoConfig = Nothing
exit function
end if
%>
 
Reply With Quote
 
 
 
 
Jeff Cochran
Guest
Posts: n/a
 
      06-22-2004
On Tue, 22 Jun 2004 06:07:01 -0700, "Tim::.." <myatix_at_hotmail.com>
wrote:

>Can someone please help!!
>This is driving me nuts...
>
>I keep getting the following error when I run the send mail script below. I think it might be because I don't have the smtp server configurered properly or because I have to make a change on our exchange server???


The error is that can not relay through the server.
Either allow to relay or change the sender to one that
can. Try the SMTP group or Exchange group if you need help
configuring relay options.

Jeff


>We are running IIS 5 on Win2K server and using Microsoft Exchange Server 5.5 can someone please tell me how I solve this!
>
>Thanks
>
>Error:
>
> Email send failed: The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for
>
><%
> mailComp = "CDOSYS"
> smtpServer = "SMTP01"
> fromAddr = ""
>
> if mailComp = "CDOSYS" then
> set cdoMessage = Server.CreateObject("CDO.Message")
> set cdoConfig = Server.CreateObject("CDO.Configuration")
> cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
> cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
> cdoConfig.Fields.Update
> set cdoMessage.Configuration = cdoConfig
> cdoMessage.From = fromAddr
> cdoMessage.ReplyTo = replyTo
> cdoMessage.To = recipients
> cdoMessage.Subject = subject
> cdoMessage.HtmlBody = body
> on error resume next
> cdoMessage.Send
> if Err.Number <> 0 then
> SendMail = "Email send failed: " & Err.Description & "."
> end if
> set cdoMessage = Nothing
> set cdoConfig = Nothing
> exit function
> end if
>%>


 
Reply With Quote
 
 
 
 
Chris Barber
Guest
Posts: n/a
 
      06-23-2004
It's doubtful that you internal Exchange server is hosting mail.com as a domain and as such it is
rejecting the senders request because the user isn't;t a valid account on that mail server - this is
fully correct and is a good secure mechanism to stop an open relay (e.g. where anyone can send mail
without a valid email account).

Try sending from a real email account that exists on that mail server.

Chris.

"Tim::.." <myatix_at_hotmail.com> wrote in message
news:661D6016-A905-46D2-93AC-...
Can someone please help!!
This is driving me nuts...

I keep getting the following error when I run the send mail script below. I think it might be
because I don't have the smtp server configurered properly or because I have to make a change on our
exchange server???

We are running IIS 5 on Win2K server and using Microsoft Exchange Server 5.5 can someone please tell
me how I solve this!

Thanks

Error:

Email send failed: The server rejected one or more recipient addresses. The server response was:
550 5.7.1 Unable to relay for

<%
mailComp = "CDOSYS"
smtpServer = "SMTP01"
fromAddr = ""

if mailComp = "CDOSYS" then
set cdoMessage = Server.CreateObject("CDO.Message")
set cdoConfig = Server.CreateObject("CDO.Configuration")
cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
cdoConfig.Fields.Update
set cdoMessage.Configuration = cdoConfig
cdoMessage.From = fromAddr
cdoMessage.ReplyTo = replyTo
cdoMessage.To = recipients
cdoMessage.Subject = subject
cdoMessage.HtmlBody = body
on error resume next
cdoMessage.Send
if Err.Number <> 0 then
SendMail = "Email send failed: " & Err.Description & "."
end if
set cdoMessage = Nothing
set cdoConfig = Nothing
exit function
end if
%>


 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaMail, Exchange Server - Unable to relay Rico Java 12 06-09-2011 05:38 PM
smtplib problem, Unable to relay for Benedict Verheyen Python 2 12-22-2007 09:05 PM
Frame Relay Lab - Unable to ping - Newbie Pink_Floyd Cisco 4 10-05-2006 04:35 AM
Dhcp Relay Agent And Acl On Sw 3750, DHCP Relay Agent and ACL on Sw 3750 Vimokh Cisco 3 09-06-2006 02:16 AM
unable to relay with vb.net system.mail Chris Thunell ASP .Net 3 12-10-2004 12:18 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57