Sending Mail with Attachments using Sockets

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Using Sockets (fsockopen, fputs, fgets, etc.) I'm able to interact
with an SMTP server to send mail. However, do you know the steps
necessary in order to send a file attachment as well?

(Note, if you need GNU tools to help achieve this task, note that I
have RH9 Linux.)

Re: Sending Mail with Attachments using Sockets


On 08/06/2004 11:51 AM, Google Mike wrote:
Quoted text here. Click to load it

You may want to try this class for composing and sending messages that
comes with support adding as many attachments as you want and may send
the messages via the mail() function or SMTP using a specialized sub-class:


Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP /

PHP Reviews - Reviews of PHP books and other products /

Metastorage - Data object relational mapping layer generator

Site Timeline