The Little Guy Posted August 21, 2008 Share Posted August 21, 2008 Last night I was reading on here you could have virtual email addresses, so I set that up on my server. I would like to know, how can I get an email as soon as it is sent to my server, and save it into a database? Link to comment https://forums.phpfreaks.com/topic/120735-virtual-email/ Share on other sites More sharing options...
DyslexicDog Posted August 21, 2008 Share Posted August 21, 2008 That would depend on the SMTP server running on your machine. Link to comment https://forums.phpfreaks.com/topic/120735-virtual-email/#findComment-622204 Share on other sites More sharing options...
trq Posted August 21, 2008 Share Posted August 21, 2008 Its also not something you would generally use php for, though you could I guess, Bash is likely a better solution. Link to comment https://forums.phpfreaks.com/topic/120735-virtual-email/#findComment-622206 Share on other sites More sharing options...
The Little Guy Posted August 21, 2008 Author Share Posted August 21, 2008 ok, first I would like to try with php. here is my first part: File: .forward "|/home/ryannaddy/php/email/forwardEmail.php" Here is forwardEmail.php mail('[email protected]','Mail','I got a message'); // This line will be removed once an email is received, and replaced with a mysql query Link to comment https://forums.phpfreaks.com/topic/120735-virtual-email/#findComment-622222 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.