Jump to content

Email webpages:page displays within mail


prasu35

Recommended Posts

I need to create an application which takes in a webpage link and then sends and email.

the email has to display the whole of the webpage within the mail.


i believe the only way to do this is to execute a php file and then read the page and convert it to HTML page and read the HTML page as a stream embedded the html code within the mail and send it.

Are there any other options????

- how do i read a php file and then save it as HTML file and read the HTML file as a File stream...

NEED HELP And SUGGESTIONs [img src=\"style_emoticons/[#EMO_DIR#]/huh.gif\" style=\"vertical-align:middle\" emoid=\":huh:\" border=\"0\" alt=\"huh.gif\" /]
Link to comment
Share on other sites

I dont have the exact code but..

There is the ability to read a file with php. You could read from a .html file line for line and not strip out the tags.

Then in your email you would have to make sure the email header contains the type for sending HTML msgs.

Then just read from the variable you used from reading the file and use that for the body?

As for having PHP read a link and pull the info from a link, I dont have knowledge on that.

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.