Supervan Posted June 22, 2015 Share Posted June 22, 2015 Hi, I need to dump php / html output of a single page to "Swifmailer" I was prevouisly using the $MesBody = <<<ENDFF1 ..... php generated text ENDFF1; Any other recomodations. Link to comment https://forums.phpfreaks.com/topic/296968-how-would-i-stream-php-output-to-email/ Share on other sites More sharing options...
requinix Posted June 22, 2015 Share Posted June 22, 2015 Output buffering is another option. ob_start(); ?> stuff <?php $MesBody = ob_get_clean(); Link to comment https://forums.phpfreaks.com/topic/296968-how-would-i-stream-php-output-to-email/#findComment-1514641 Share on other sites More sharing options...
Supervan Posted June 23, 2015 Author Share Posted June 23, 2015 Thank you. It worked Link to comment https://forums.phpfreaks.com/topic/296968-how-would-i-stream-php-output-to-email/#findComment-1514761 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.