954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Can I get the body of an email PHP?

Hi. I'm not sure if this is possible:

I found out that Blogger allows you to email text, images, etc to a unique email address, and then it'll post the email as a blog post. I'm trying to create a system like that for my client. Is it possible to 'grab' the email body (and possibly the subject) in PHP?

calebcook
Junior Poster in Training
66 posts since Jun 2011
Reputation Points: 10
Solved Threads: 4
 

I guess not :)

calebcook
Junior Poster in Training
66 posts since Jun 2011
Reputation Points: 10
Solved Threads: 4
 

Yes this is absolutely possible.

The only library that is coming to mind is Zend_Mail http://framework.zend.com/manual/en/zend.mail.read.html

Other examples exists such as:
http://garrettstjohn.com/entry/reading-emails-with-php/

Googling will yield a lot of different examples.

mschroeder
Work Harder
Team Colleague
666 posts since Jul 2008
Reputation Points: 279
Solved Threads: 131
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: