Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2008-09-08 18:14:54
- mapu
- Member
- From: Munich, Germany
- Registered: 2004-03-16
- Posts: 141
Re: Textpattern SMTP plugin?
EliVZ wrote:
That should do it. Try changing your password to be sure it worked. It’s not as nice as a plugin, and you will have to remember to redo it any time you upgrade TextPattern, but it is a pretty easy fix.
I was happy to read about this solution since I’m also at WebFaction and this SMTP authentication thing kept me from installing TXP on my hosting account.
But: After following these instructions (and editing my smtp details in pearmail.php) emails are not getting sent. When changing my passport as suggested after a short delay I get the message Password changed and mailed to… but no email is being sent.
Did I miss something?
Edit: Ok, I just have to be a little more patient. After a while I got the mails. I guess there is some delay with Gmail today.
So, thanks very much for these instructions! Thank you!
Last edited by mapu (2008-09-08 18:27:54)
Offline
#14 2008-09-08 22:10:27
- EliVZ
- New Member
- Registered: 2008-09-07
- Posts: 2
Re: Textpattern SMTP plugin?
Glad it helped :)
One further note: I discovered that in order to use either the zem_contact_reborn or the postmaster plugins (and other, too, I’m sure) you have to edit their code to use the same smtp()
function rather than mail()
. Just copy the full code of the plugin to a decent text editor and do a search for “mail(“. You will have to also include pearmail.php at the top of the functions that use mail()
.
Offline
#15 2008-09-09 05:04:57
- mapu
- Member
- From: Munich, Germany
- Registered: 2004-03-16
- Posts: 141
Re: Textpattern SMTP plugin?
EliVZ wrote:
One further note: I discovered that in order to use either the zem_contact_reborn or the postmaster plugins (and other, too, I’m sure) you have to edit their code to use the same
smtp()
function rather thanmail()
. Just copy the full code of the plugin to a decent text editor and do a search for “mail(“. You will have to also include pearmail.php at the top of the functions that usemail()
.
Good to know! Thanks!
Offline
#16 2010-09-12 12:16:29
- immarabi
- Member
- Registered: 2008-04-29
- Posts: 57
Re: Textpattern SMTP plugin?
Hello, could you help me figure out where to put the line include_once('pearmail.php');
?
It does not make sense to put it on line #931 anymore.
Thanks for the help.
Offline
#17 2010-09-18 17:15:36
- immarabi
- Member
- Registered: 2008-04-29
- Posts: 57
Re: Textpattern SMTP plugin?
I figured out how to edit the txplib_misc.php, from this forum post http://forum.webfaction.com/viewtopic.php?pid=18518#p18518
It is somewhere around line 1039 and 1096 that you need to make the change.
I tried entering the SMTP envelope sender address but I could still not receive any emails until I hacked the txplib_misc.php file.
Last edited by immarabi (2010-09-19 11:15:22)
Offline
#18 2010-12-09 18:17:15
- mapu
- Member
- From: Munich, Germany
- Registered: 2004-03-16
- Posts: 141
Re: Textpattern SMTP plugin?
WebFaction: Sendmail now enabled on all servers!
Offline