![]() |
|
|
|||||||
| PHP - Code PHP programming - Ask questions and help people with PHP code. If you are stuck and need help, this is where you ask for help. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
In what format are you getting the email?
__________________
Jon Components For PHP - The complete component suite for Delphi For PHP. PlatinumGrid - Powerful and flexible PHP grid control. |
|
|||
|
the message can be sent to any email address. It is a mms message forwarded by the service provider. It contains data in the header and body that identifies the sender and between 1&6 images as attachments. We need to process the sender details than either put the images into mysql blob fields or in a particular folder on the server.
Cheers Stevew |
|
|||
|
You could use the Mailparse PECL package for this, or manually parse the MIME data.
__________________
Jon Components For PHP - The complete component suite for Delphi For PHP. PlatinumGrid - Powerful and flexible PHP grid control. |
|
|||
|
This extension is EXPERIMENTAL. The behaviour of this extension -- including the names of its functions and anything else documented about this extension -- may change without notice in a future release of PHP. Use this extension at your own risk.
With all the problems I have had with Delphi PHP I'll give this one a miss..... How do I 'parse the MIME data' please? What is MIME data and where does it live? Cheers SteveW |
|
|||
|
Parsing the MIME format isn't too easy, so it would be easier to find a package that'll do it for you.
Try this one, it might do the job: Class: Parse Mail (sendmail, base64) - PHP Classes
__________________
Jon Components For PHP - The complete component suite for Delphi For PHP. PlatinumGrid - Powerful and flexible PHP grid control. |