CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Reading emails

Print topic Send  topic

Author Message
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
View profile  Send private message
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.

View profile  Send private message
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");
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.