wozzaofrarex Posted May 28, 2007 Share Posted May 28, 2007 Hello If you go to File >> Send > Page via email it will send a snap shot of the current page you are looking at via email. can this be done via PHP (or another means) so that I can create a script that will email a webpage automatically to a chosen person? thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/53232-can-you-send-an-entire-webpage-via-email-using-php/ Share on other sites More sharing options...
chronister Posted May 28, 2007 Share Posted May 28, 2007 If you go to File >> Send > Page via email In IE? It sends an HTML page. If you drop it down to plain text, the formatting is lost and the coding shows up. All you need to do to duplicate this is to capture the source for the target page and then send it as the body of the email. Take a look at fopen() http://us.php.net/manual/en/function.fopen.php Quote Link to comment https://forums.phpfreaks.com/topic/53232-can-you-send-an-entire-webpage-via-email-using-php/#findComment-263064 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.