I have been trying to email the output of a php file and I was directed to Swift Mailer. Will it do the following:
I have a php file that converts a table to xls for downloading. I would like to be able to email the resulting xls but it is pretty dynamic table so downloading it first and then sending it is just not an option. Currently I just send the link to people and have them download it for themselves but I would like to just attach it for them.
What do you think? Will it do it?
Email PHP output
Moderators: Chris Corbyn, General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Email PHP output
You could send it as an attachment with swift yes 
Re: Email PHP output
In case someone stumbles on here looking for the same solution I thought I would let you know where I finally found some direction.
Here is a little tutorial that really got me to be able to attach the output of my page. It is written for phpmailer but I used it with swift mailer with very little effort.
Enjoy.
http://www.beginnercode.com/index.php/ ... hpmailer/
Here is a little tutorial that really got me to be able to attach the output of my page. It is written for phpmailer but I used it with swift mailer with very little effort.
Enjoy.
http://www.beginnercode.com/index.php/ ... hpmailer/