Jump to content

IMAP x-variables


IsmAvatar

Recommended Posts

I've written a php script that will check emails from my mailbox from a certain individual and store the information it contains on a database.

The trick now is ensuring that it is indeed coming from the certain individual. As of currently, I use $header->senderaddress, but that can easily be spoofed.

What I'm really interested in reading is the x-variables for the email, in particular, X-Email-Type-Id, X-XPT-XSL-Name, and X-user.

I did a dump of imap_fetchheader and imap_fetchstructure, but neither seemed to contain them.

 

Link to comment
https://forums.phpfreaks.com/topic/101946-imap-x-variables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.