|
Posted by elyob on 11/07/94 11:25
Hi, I'm looking to setup an email system that will log into a catchall
account, read to addresses and forward them to a different email address
stored in a MySQL table. I may also allow the users to store these emails in
their own accounts at a future date.
I've got the IMAP checking etc etc working just fine. However this will be
more troublesome if someone includes an attachment. Firstly, the
imap_body($mbox,$num) chucks out loads of gobbledygook[1] at the moment. I
guess this is the real code behind, but how should I forward that? Also, can
I reject any attachments easily?
Thanks
Nick
[1]
/9j/4AAQSkZJRgABAgEBLAEsAAD/7QlMUGhvdG9zaG9wIDMuMAA4QklNA+0KUmVzb2x1dGlvbgAA
AAAQASwAAAABAAEBLAAAAAEAAThCSU0EDRhGWCBHbG9iYWwgTGlnaHRpbmcgQW5nbGUAAAAABAAA
AHg4QklNBBkSRlggR2xvYmFsIEFsdGl0dWRlAAAAAAQAAAAeOEJJTQPzC1ByaW50IEZsYWdzAAAA
CQAAAAAAAAAAAQA4QklNBAoOQ29weXJpZ2h0IEZsYWcAAAAAAQAAOEJJTScQFEphcGFuZXNlIFBy
aW50IEZsYWdzAAAAAAoAAQAAAAAAAAACOEJJTQP1F0NvbG9yIEhhbGZ0b25lIFNldHRpbmdzAAAA
SAAvZmYAAQBsZmYABgAAAAAAAQAvZmYAAQChmZoABgAAAAAAAQAyAAAAAQBaAAAABgAAAAAAAQA1
AAAAAQAtAAAABgAAAAAAAThCSU0D+BdDb2xvciBUcmFuc2ZlciBTZXR0aW5ncwAAAHAAAP//
AAAAAQAtAAAABgAAAAAAAThCSU0D+////
[Back to original message]
|