Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDO's SMTP connection - Do I need active internet connection? 1

Status
Not open for further replies.

vaxman9

Programmer
Feb 26, 2002
80
US
Greetings all,

I use WWIPSTUFF for sending emails via SMTP. This isn't a problem at the office because I manage the company mail server as well so I have a SMTP server available.

However, I have remote users that are not always connected to the internet. To handle their email, I place the message in the Outlook Outbox for sending when they connect. As I upgrade them past Outlook 2000, these users are getting the warning now. I was looking at using CDO. Based on what I am reading in these forums, I believe these remote user will need a SMTP server of some type for CDO to send thru. I've read that CDO can use the local SMTP service on the XP and WIN2K machines.

My question is this - with the SMTP service installed on a XP or Win2K client, do these machine need to have an active internet connection for CDO to work? Or will the local SMTP service store the messages until the client machines connect?

Thanks,
matt
 

Most likely, yes, but I would suggest you check the setting on the SMTP service, to change certain settings like 'expiry time out', and perhaps the intervals between the tries.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Update.
I did a test with my own system, using 4 simple lines of code. First I disconnected from the network.

Code:
o = CREATEOBJECT('cdo.message')
o.from = 'me@suntelecom.net'
o.to = 'me@suntelecom.net'
o.subject = 'hello'
o.send()

I came back to my system after 10 minutes, reconnected to the network and exactly 15 minutes after sending the message, I received (which is the setting on my SMTP service for the first retry).




Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Mike,

Thanks for the leg work. One additional question - you spend so much time answering questions here, when do you get any work done? ;-)

Thanks again,
matt
 
Thanks for the leg work. One additional question - you spend so much time answering questions here, when do you get any work done?

Actually, answering, reading and researching answers in these forums help me greatly in my own work. I have learnt a lot just reading about other techniques posted by others. Adn I guess I don't sleep as much as most people.



Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top