[Typo3-dev] mail sending under cgi
Gary Greer
gg at zz.nu
Thu Dec 2 10:14:23 CET 2004
Hi Jan.
Thanks for your response. I've spent the day digging into mail() and
have decided that it is the culprit, and I've fixed the part where the
backend sends an email to say that someone has logged in using phpmailer.
However, I'm trying to find the spot where the mail that a user form is
sent from. I've been looking around in the t3lib, and found a few likely
places, but nothing seems to be really working.
Can anyone point me in the right direction to remove the mail() and
replace it with phpmailer?
Why isn't this just another class that I can unplug and replace! Grrrr!
gg
Jan-Erik Revsbech said the following on 2/12/2004 7:03 PM:
> 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