jefe0101 Posted March 18, 2011 Share Posted March 18, 2011 Ok i am stuck, i created a php script that draws data from a mysql dB into a php page. How can I send the page as the body in email? I do not need to preview the page, but can send it without ever viewing if that helps. When I put my code into a variable it does nothing. Is it caching? Should I load the results into mysql then send?please advise.. Link to comment https://forums.phpfreaks.com/topic/230987-page-created-dynamicly-with-php-from-mysql-data-how-to-send-as-body-in-email/ Share on other sites More sharing options...
lastkarrde Posted March 18, 2011 Share Posted March 18, 2011 Use PHP's mail function or a library on top of it (such as Swiftmailer). Link to comment https://forums.phpfreaks.com/topic/230987-page-created-dynamicly-with-php-from-mysql-data-how-to-send-as-body-in-email/#findComment-1189026 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.