Hi Guys,
It is the first time I use the Tracker. Hope I do it the right way ...
Here are my problems and the solution I found :
Though using latest CVS version of email-4.php V.1.38,
I get a fatal error when I am sending emails with XRMS
Fatal error: Call to undefined function getFile() in /var/www/xrms/email/email-4.php on line 66
=> function getFile is missing somewhere in the code ?
Another problem I encounter with emails at same time concerns attaching a file that has already been sent out to somebody else. XRMS tells me this file already exists. How can I send this file again to another contact ?
My production server's environment
Ubuntu Hardy 8.04, Linux kernel 2.6.24-19-server, MySQL 5.0.51a, Apache 2.2.8, PHP/Pear 5.2.4
The solution I found :
If I replace getFile by standard php function file_get_contents in email-4.php on line 66, everything seems to work fine.
When I say everything, I mean BOTH problems described above, even the sending of another mail with SAME attachment. But maybe the initial getFile function did other things I am not aware of ...
My modified email-4.php file is attached.
Guys, I am not a skilled php programmer as you are.
Could you please confirm my solution may be acceptable or please correct the issue the right way in CVS ?
Thanks a lot to all of you. Your help is really appreciated.
Regards,
Marc.
Modified email-4.php version 1.38