Q: SmtpMail.Send error

G

Guest

Hello,
I am using SmtpMail.Send() and I get the following message
The server rejected one or more recipient addresses. The server response
was: 550 5.7.1 Unable to relay for (e-mail address removed)
What does this mean?
Thanks,
Jim.
 
K

Ken Dopierala Jr.

Hi,

This means that the From field of the email needs to be from an email at
that domain. So instead of sending from (e-mail address removed) you need send
from (e-mail address removed) . Good luck! Ken.
 
S

Scott Allen

Hi Jim:

It means the mail server is locked down by an admin. If you are
sending mail that is not addressed to a local user, or addressedfrom a
local user, the server has to 'relay' the mail to a destination. Most
mail servers try to limit this feature because spammers use it to sell
viagra.

Talk to your network admin and see if they are comfortable allowing
relay from the IP addess where your app lives.
 
G

Guest

Hi Scott,
Thanks again. I have from address as my work email and to address as my
hotmail account, so I am a local user, should it work this way?

How do others do? When they want to send e-mails to their customers
automatically, don’t they use the same function?

Our network admin may want to stop mails from outside to inside, I
understand that, why would he do that from inside to outside? I do not think
that he is aware of it, where should I check to see if there is those kind of
restrictions.
Thanks,
Jim.
 
S

Scott Allen

Hi Jim:

Do you know what kind of mail server you use? (Exchange, etc?). You'll
have to dig into the configuration screens for the product to see
where the configuration is.

Many mail servers will be locked down pretty tight these days to
prevent spam. Even for internal users one common protocol requires
users to login and check a mailbox before being allowed to send
outbound mail.
 
G

Guest

It is a windows 2000 machine and I see Microsoft Exchange program item, I see
Active Directory, System Manger in there. Do you know any specific place
that this setting is done?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

SMTPMail.Send 1
smtpmail.send 2
Can't SendMail 3
SMTP server question 2
Send mail error 1
Send Mail on local machine 2
send email issues 2
Brinkster Form Mailer Problem 0

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,182
Latest member
BettinaPol

Latest Threads

Top