ashulm2 Posted January 7, 2009 Share Posted January 7, 2009 I have a database of dates/times that I want emails to be sent out. The only way I know how to send an email is through the mail() program, which requires you to load a webpage. Is there some way I can have an email sent out at a certain time (automatically) without running a page? Thanks. Link to comment https://forums.phpfreaks.com/topic/139912-emailing-without-loading-a-page/ Share on other sites More sharing options...
envexlabs Posted January 7, 2009 Share Posted January 7, 2009 You can setup a cron job on your server to run a script that mails out the information. Link to comment https://forums.phpfreaks.com/topic/139912-emailing-without-loading-a-page/#findComment-731984 Share on other sites More sharing options...
ashulm2 Posted January 8, 2009 Author Share Posted January 8, 2009 I've done some searching and a cron job seems exactly what I would like to do, but I'm having trouble figuring out how to create one and putting it to use in a php script (if this is what you do). Do you have any particular websites or tutorials you know about that might help me? Link to comment https://forums.phpfreaks.com/topic/139912-emailing-without-loading-a-page/#findComment-732187 Share on other sites More sharing options...
lokie538 Posted January 8, 2009 Share Posted January 8, 2009 You dont put a cron job in a php script. A cron job will run a php script! I think you have to be running linux and have cron jobs installed? Ive never used one before Try google Link to comment https://forums.phpfreaks.com/topic/139912-emailing-without-loading-a-page/#findComment-732213 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.