Jump to content

Send created pdf file as email with php


athyzafiris

Recommended Posts

Hi

 

I am new to this forum so i hope someone can help.

I have a pdf document that i have already created which i would like to send to a list of email addresses stored in my mysql database.

I don't want to send the pdf as a attach but as the actually email.

 

How would i go about doing this? Also, i have notices when i receive emails that i have to click on the pictures to download them in outlook. If i send my pdf as a email will the pictures in the pdf be shown automatically?

 

Hope you can help

Athy

Link to comment
https://forums.phpfreaks.com/topic/37272-send-created-pdf-file-as-email-with-php/
Share on other sites

Hello athyzafiris,

Welcome to the forums! I hope you find them as useful as I have.

 

I'm 99.5% sure that you can't send a pdf as the email body itself. Pdfs can only be emailed as attachments. You can however send html formatted emails that contain images, colors, etc.

 

For a great tool and examples of how to send different types of emails using php, check out the htmlMimeMail class located at:

 

http://www.phpguru.org/

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.