To send an email to a remote SMTP server

P

Pierre Archambault

Hi,

I am creating a program that lets the user send a text file by email without
using his email client. I am using CDO; it's simple and very efficient at
least if the user have already setup his Outlook Express account. Otherwise,
he needs to enter his SMTP server name, his user name and his password.

But the users are numerous and they don't have all the same environment, I
must let them set and save their own transmission parameters: SMTP server
name, user name and password.

Here is the problem: When I test my code, I simulate the situation using my
own Internet Access Provider's SMTP Server and this works fine. But as I
don't know if the expected user will use a remote SMTP server or it's
provider's, then I must test my code with another SMTP server. I choose to
use the one I have on my personnal Internet Site. Then I get the following
error message:

"The transmission failed connecting to the server".

However, if I use Outlook Express to send me an email it works perfectly.

Can someone help me with this issue ?

Thanks

Pierre
 

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