[Typo3-dev] mail sending under cgi
Jan-Erik Revsbech
jer at moccompany.com
Thu Dec 2 09:03:39 CET 2004
The actual mailsending is done via a call to the php function mail() which by default uses a direct call to sendmail (at least on Unix systemet, on Windows it uses an SMTP server).
/Jan-Erik
-----Original Message-----
From: Gary Greer [mailto:gg at zz.nu]
Sent: 1. december 2004 23:56
To: typo3-dev at lists.netfielders.de
Subject: [Typo3-dev] mail sending under cgi
I'm taking my first steps into looking into the php code of typo3, as my
hosting provider has forced me!
The server is running php as a cgi, and when typo3 tries to send email,
it collapses and dies, leaving the dead.letter sitting in my home
directory. The dead.letter is the email as it is meant to be sent, so I
think that something is going on with the server that is crashing the
application.
I want to change typo3 so that instead of using the sendmail on the
server it is on, it uses smtp to relay it through another server, which
I control.
I'm looking inside class.t3lib_htmlmail.php which looks like the right
class, but can anyone give me a clue as to where the email is passed to
sendmail, so I can catch it and pop it out instead?
Thanks.
gg
_______________________________________________
Typo3-dev mailing list
Typo3-dev at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
More information about the TYPO3-dev
mailing list