![Picture of Manuel Lemos Picture of Manuel Lemos](/picture/user/1.jpg)
Manuel Lemos - 2006-01-18 17:53:25 -
In reply to message 4 from Carol Castro
You see, most of the work of the class is to compose a message. However, eml files are messages already composed. So, the message composition capabilities are not needed.
As I mentioned, what you can do is to open .eml file, read its header lines one be one until you find an empty line as that is where the body part starts.
Then you can call the mail() function pass the message body, To:, Subject: and other headers to the right parameters.