Rejected email adresses that is valid

D

DagL

Hello again!

I have implemented my code in my program. I use a exception handler, and
catches the error messages. In fact, I have developed the code in VB, and
later converted it into COBOL code for my real program..... But, that is
another story.

After we have sent the relase out, we get some feedback from some customers
that we dont like. Some of them get rejections on external email adresses.

For instance, the SMTP server could be like: smtp.firmhost.no
The "firmhost.no" is a domain for the company.
Some employees has private adresses, and some have company adresses.
A company adress could be: (e-mail address removed)
A private adress could be: (e-mail address removed)

The email is sent correct to the employees that use a company adress. But,
when sending to a employee with a private adress, the send-command (e.g.
objMail.Send) returns an exception. The error code is 527, and the error
description is:

"The server rejected one or more recipient adrdresses. The server response
was: 550 5.1.1 User unknown..."

I have not set the port, so that is default. We does not use any
authentication for outgoing messages. Could this be the error?

Does anyoune has a tip for what to do?

Regards
DagL
 
T

Tom van Stiphout

On Tue, 27 Oct 2009 06:59:01 -0700, DagL

That would be a good question for an SMTP-related newsgroup. This one
is about DAO and VBA programming for Microsoft Access.

-Tom.
Microsoft Access MVP
 
T

Tony Toews [MVP]

DagL said:
I have not set the port, so that is default. We does not use any
authentication for outgoing messages. Could this be the error?

Yes, you should be adding authentication. There are a number of
different types of SMTP authentication as well.

Those email servers will accept emails for it's own domain only. When
the server see emails for other domains it's assuming you are
attempting to use that email server as an "open relay". That's a very
bad thing in the SMTP world.

(Now it wasn't my fault but I know of an email server that was just
setup and the open relay loophole hadn't yet been closed. (In my
opinion the email software default settings should be to not allow
this.) From Friday evening to Monday morning 4 million spams were
sent through that email server.)

Also note that many ISPs block port 25 other than through their own
SMTP servers. Therefore while you can access the clients SMTP servers
when on their own network if your software runs on PCs at home or
elsewhere then you also might not be able to send emails. Unless you
setup VPNs and such back to the email host.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a free, convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/
Granite Fleet Manager http://www.granitefleet.com/
 

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

Top