Jump to content

Sending a dynamic page as an html email


davemof

Recommended Posts

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 thanks

David
Link to comment
https://forums.phpfreaks.com/topic/33732-sending-a-dynamic-page-as-an-html-email/
Share on other sites

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...
  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.