--- Ken <[EMAIL PROTECTED]> wrote:

> I have a web page that allows the board members to send a mail to every 
> club member.  The email address is picked up from the membership 
> database.  I have been asked to allow attachments to be added to the 
> mails.  I don't know how to do that.  Any help would be appreciated.
> 
> Thanks
> Ken

Attachments are binary encoded so they will fit in the body of an email
message.  Sending HTML email has similar requirements.  Getting it right takes
a fair amount of work so it is often best to find a PHP programming function or
class definition and use that to achieve your goals.

PHPmailer is one such library.  There are many others.
http://phpmailer.codeworxtech.com/

Allowing email attachments also allows harmful code to be delivered.  Please be
sure to lock down your system so that only authorized people can send messages
with attachments.  Otherwise, it will become just one more source of spam and
viruses on the Internet.

James

Reply via email to