PDA

Click to See Complete Forum and Search --> : sending email at specific intervals...


vlakshmi
Jul 19th, 1999, 07:48 AM
Hi,
Actually I need send 3 mails at specific timings for my work. I would really
be very happy to automate that.If I have to send say at 8:00,12:00 and 3:00 everyday what should I do?? I have all the email address in a database. Will a timer be reliable?? If so, how do I set the time interval of the timer??


Thanks in advance,
lakshmi

jimmit_t
Jul 19th, 1999, 09:19 AM
You should loop or use a timer with a 100 second interval then check the time with
timeGetSystemTime or timeGetTime API's

Public Declare Function timeGetSystemTime Lib "winmm.dll" Alias "timeGetSystemTime" (lpTime As MMTIME, ByVal uSize As Long) As Long

Public Declare Function timeGetTime Lib "winmm.dll" Alias "timeGetTime" () As Long


Using MAPI you can send the email.

Jul 20th, 1999, 06:36 PM
Mabry makes an Alarm control that would do this

------------------
Dave
deccles@pacbell.net