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
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/

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.