On Jun 4, 4:17*pm, damezumari <jannordgr...@gmail.comwrote:
How do I let the user send the current html page they are on as the
message in an email?
I know how to send emails with php, but not how I let the current page
be the message.
I want to do this with code instead of asking the user to click menu
options in his browser.
Kind regards,
Jan Nordgreen
You could create html page through php like that;
$output = "<html><head>title</head><body>some content</body></html>";
echo $output;
How ever this approach consumes micro-processor resources very much.
Second solution send the link and show the content in an <iframe>;
Third send a image snapshot;
Although you can send, your content by 2. & 3. way, there is no
gurantee that your content is being displayed because some service
providers such as gmail and yahoo mail, prevent data being displayed
by default, moreover, those services could mark your messages as junk/
spam.
For me the best thing is to send a simple link on a plain message
body..