davemof Posted January 11, 2007 Share Posted January 11, 2007 Hi,I am nearing completion of a crazy drag and drop quotation system. The client wishes for the output to be emailed to the client. I'm having some difficulty in figuring out how to send a dynamically created page as an email. The website is located at [url=http://www.id30-test.co.uk]www.id30-test.co.uk[/url].To view the page to be sent via html email go to "design your home" and complete the drag and drop functionallity and hit get quote (please note there are still some bugs in this system). The output page headed "your quote" is the page I wish to be able to send via email.Any suggestions would be very gratefully recieved.Many thanksDavid Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted January 11, 2007 Share Posted January 11, 2007 try this...[code]$message = "<div>";$filename = "URL/TO/FILE/WITH URL VARS";$handle = fopen($filename, "r");$message .= fread($handle, filesize($filename));fclose($handle); $message .= "</div>";[/code]Don't know if that will work but have a go... Quote Link to comment Share on other sites More sharing options...
godzero Posted September 28, 2008 Share Posted September 28, 2008 All that does is read the source code into the email - it doesn't run the script and put the generated HTML page into the email. I've also been trying to do that without success, it's hard to even get someone to understand the question. Quote Link to comment 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.