[PHP] Attachments again

2001-11-12 Thread Oosten, Sjoerd van
Hi, When i send a dynamic HTML newletter, which contains newsitems in the database I now send the e-mail with a link to the image on the webserver. What i would like to do is instead of linking the image, send the image as a sort of attachment. So an internetconnection is not required when

Re: [PHP] Attachments again

2001-11-12 Thread PHPGalaxy.com
I've found a great SMTP class file that supports file attachments. Its just a few lines of code that base64_encode's the attachment, and sticks it at the end of the email. I guess just rip whatever code ya need out of this, for doing attachments, and insert it into your own. Maybe do a little RFC

RE: [PHP] Attachments again

2001-11-12 Thread Caspar Kennerdale
On the attachment subject, does anyone know how to specify multiple mime types? I have my attachment script, however people may be using it to send gifs, swfs, or text files I am specifyinmg the mime types like this $type = image/gif; $header .= Content-Type: $type; wuld I do something

Re: [PHP] Attachments again

2001-11-12 Thread DL Neil
Hi Sjoerd, When i send a dynamic HTML newletter, which contains newsitems in the database I now send the e-mail with a link to the image on the webserver. What i would like to do is instead of linking the image, send the image as a sort of attachment. So an internetconnection is not