Jump to content


Email webpages:page displays within mail

  • Please log in to reply
1 reply to this topic

#1 prasu35

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 08 June 2006 - 01:45 PM

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\" /]

#2 SharkBait

  • Members
  • PipPipPip
  • Advanced Member
  • 845 posts
  • LocationMetro Vancouver, BC

Posted 08 June 2006 - 01:52 PM

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users