||02-14-2013 02:00 PM
PHP Mail and Faxing
I am signed up with a faxing company (www.efaxcorporate.com
). They allow you to send a fax by email. For example, from the email account associated with my efaxcorporate account, I can send an email that goes to a fax machine by sending the email to [faxnumber]@eFaxsend.com. I use this function all the time and it works.
I want to be able to do this from PHP instead of just from a mail client, so I tried this:
mail ("faxnumber@eFaxsend.com", "My Subject", "Hello World.", "From: email@example.com");
This does not work, the fax does not get delivered. I also tried using SMTP Authentication in the PHP code, and that didn't work either. obviously the fax company detects that this is not a "true" email, what is different about using PHP mail and using a mail client, or a web mail client?
Can you think of any way I can make this work?