idealws Posted July 28, 2009 Share Posted July 28, 2009 Hello, I am getting email via pipe to my program which works fine normally but I am getting some emails w=in the following format: ------=_Part_1512679_32892770.1248763808563 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: BASE64 IyNIZXkjIwotLS0tLS0tLS0tLS0tLS0tLS0Kc21zNzUxNTczQHNpdGUydGV4dC5jb20gLyBDaGF0 TWVzc2FnZSAvIERhZCB3cm90ZTpUZXN0aW5nCgo= ------=_Part_1512679_32892770.1248763808563-- Now there is no attachment as I have checked with the person sending it is just base64 encoded. I have tried using base64_decode() which will work if I can somehow extract only the portion that is encoded example: IyNIZXkjIwotLS0tLS0tLS0tLS0tLS0tLS0Kc21zNzUxNTczQHNpdGUydGV4dC5jb20gLyBDaGF0 TWVzc2FnZSAvIERhZCB3cm90ZTpUZXN0aW5nCgo= But I am having the hardest time getting just that portion out of the email. I would appreciate any help I can get as this has been driving me nuts for some time now. Thanks in advance. Regards, Ray Link to comment https://forums.phpfreaks.com/topic/167763-help-with-incoming-email-via-pipe/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.