saseow
Posts: 744
|
Posted: 03/06/2017, 9:15 PM |
|
Posts on the net suggest that this is possible but I cannot get it to work.
I want to extract the body from emails sent to an account I have set up. The site is on a shared GoDaddy server.
If anyone has done this please let me know.
Thanks,
Trevor
|
|
|
MichaelMcDonald
Posts: 640
|
Posted: 03/07/2017, 5:52 PM |
|
Maybe
$SQL = "SELECT body FROM email WHERE idemail = '$idemail'";
$db->query($SQL);
_________________
Central Coast, NSW, Australia.
|
|
|
saseow
Posts: 744
|
Posted: 03/07/2017, 7:38 PM |
|
Thanks for the reply Michael but want I want to do is get the email data from the POP or IMAP mail server (whichever it is). As an example:
$mbox = imap_open ("{localhost:110/pop3}INBOX", "user_id", "password");
|
|
|
|