Jump to content

mail(file.html), how can i email a HTML Doc?


PC Nerd

Recommended Posts

Hi,

 

i want to have a nicely formatted email, which ive got in email.html.  What i want to do is to have that emailed to a specific email, as the actual email content.  Eventually it would become a php file, as its the confirmation email for signup.

 

Thanks

Link to comment
Share on other sites

well thats what i want to do, except its almost like a proper page........... the html file is the content of the email, which is why it will be php eventually.....

 

how can i have the HTML or PHP doc as tehactual email and not an attachment.

 

thanks

Link to comment
Share on other sites

ok.

 

i know how to send the email, and how to use HTML,  howeever i have  many lines of HTML.  its as i said, an entire file.  what im looking for is a method of sendign this file as the actual email.  fo i have to use a meathod like reading the file for its contents, or can i simply go $content = require(FILE); mail(stuff, $content);

 

thanks

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.