prasu35 Posted June 8, 2006 Share Posted June 8, 2006 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\" /] Quote Link to comment https://forums.phpfreaks.com/topic/11487-email-webpagespage-displays-within-mail/ Share on other sites More sharing options...
SharkBait Posted June 8, 2006 Share Posted June 8, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/11487-email-webpagespage-displays-within-mail/#findComment-43167 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.