Connecting Tech Pros Worldwide Forums | Help | Site Map

sending php page through mail

Newbie
 
Join Date: Jun 2007
Posts: 19
#1: Dec 11 '07
hi friends,i have a problem actually i want to send a php file through a mail.
for ex suppose i have a php page in which i m showing all the list of employee in my company.when we run this page in a explorer it is show ing the list of employee.now what i want i want to send this output page to aor hr team by mail.so tell me how can i do this.the page should look same with same output when the receiver check its mail.

Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Posts: 3,751
#2: Dec 11 '07

re: sending php page through mail


Hi.

You could use the Output Control Functions to capture the output of your PHP file, perhaps in conjunction with the include function.

Or, if you want a more elegant solution, you could check out the CURL functions.
Reply


Similar PHP bytes