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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email without any user action

Status
Not open for further replies.

megasuperman

Programmer
Aug 20, 2001
21
US
I am trying to write a program that will send an e-mail at a certain time of the day every day to the same person
(I am going to use windows scheduler to call the program at a certain time of the day so the program is not resident at all times just counting)

I will be installing this on several different systems I am using it to tell me when a system has gone down (no longer recieve an e-mail from it)

I am using vbsendmail.dll with the sample sendmail and bulksendmail and got send mail works but only if you fill in the form and click send I tried making it automatic by making a module and define all fields

finally got it to compile and run without errors.. but now... it doesnt send everything looks right and it seems to take the right amount of time but no e-mail comes in

on the original sendmail that uses a form it has a status but since I am using a module it has no status so I have no idea what it is doing besides running.. no idea what is happening or what is missing

any ideas????

either on a way to get a status form to run from the module (module calls the form) or what could be missing


btw the smtp server it is sending through requires authentication (and vbsendmail.dll supports smtp auth)

Thanx for the Help
 
its smtp server problem, where it is failure to connect to smtp or / authenticate somehow and thats why mailing system is stoped.

all you need to do is update the smtp server /username/password with new accounts and run it again. on those all computers you will get emails perfectly.

another problem is somehow those computers firewall is blocking.
 
the problem was in the module
I just put it in the form load
remove all other form info besides status and works great

thanx for the suggestions

the firewall at the 1 location is a problem
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top