Topic: Emailing reports in 2.3RC3
Hello,
I hope someone can help. I have searched the forum, but couldn't find a solution to my problem.
When I try to send reports using the email function, i.e. Reports and Analysis > Print Invoices/Credit Notes, select Yes in email Customers, I always get "Sending document by email failed".
I have checked that mail() is working properly, first by using my own mailing script, later by changing this line:
$ret = mail($mail, $this->subject, "", $this->header);
in class.mail.inc to
$ret = mail("somerecipient@somedomain.com", "Test subject", "Test body", "From: sender@mydomain.com");
That worked - but of course wouldn't enable me to send anything useful.
I am on Win 2003, SP2, using IIS6. PHP 5.2.6, MySQL 5.0.45-community-nt.
Thank you in advance.