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. Quote Link to comment https://forums.phpfreaks.com/topic/296968-how-would-i-stream-php-output-to-email/ Share on other sites More sharing options...
Solution requinix Posted June 22, 2015 Solution Share Posted June 22, 2015 Output buffering is another option. ob_start(); ?> stuff <?php $MesBody = ob_get_clean(); Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.