Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
txp does not send emails to new authors
I am helping some friends with their site and we suddenly hit a problem often found here but I just can’t find a working solution.
Basically txp does not send emails to ‘authenticate’ new authors. The site is at dreamhost and it is still running txp v 4.4.1 as they are using the postmaster plugin which is yet to be updated to the latest txp version.
The diagnostics show no errors. Any ideas?
> Edited to add: Interestingly postmaster sends the emails just fine
Last edited by colak (2012-10-25 16:07:42)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: txp does not send emails to new authors
We do not use anything special to send these messages, just plain PHP.
To test whether PHP can send messages, try this:
1. Login to a shell
2. Type
php -r "mail('you@example.com', '1 2 testing', 'is this thing on?');"
Use your own e-mail address here.
3. Wait for the message to arrive in your inbox.
If no message gets through, ask DH support. I’ve experienced this once, and they fixed it.
Last edited by wet (2012-10-25 20:22:24)
Offline
Re: txp does not send emails to new authors
Hi Robert, I’ve never tired SSH but I guess this is the time to do it. I’ll report back here. Thanks.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: txp does not send emails to new authors
You can put the code into a page or form as well:
<txp:php>mail('you@example.com', '1 2 testing', 'is this thing on?');</txp:php>
Then browse to a page where this snippet is part of the output.
Offline
Re: txp does not send emails to new authors
This is much easier:)
the email has arrived through the page but new authors still cannot receive any emails.
Is there a way to add new authors using sql?
Last edited by colak (2012-10-26 13:10:57)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: txp does not send emails to new authors
Although the problem is not fixed yet I used this sql snippet in combination with rah_change_passwords and new authors can now login and chose their own pw.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#7 2012-11-18 09:51:04
- M_i
- Member
- Registered: 2006-03-05
- Posts: 122
Re: txp does not send emails to new authors
I’m also using Textpattern on Dreamhost (and have since 2006).
Dreamhost has adopted very strict rules aimed at preventing spam sent from their servers in recent months. Make sure that when using PHP mail, you specify a from address that matches your domain (so if your site is yourdomain.com, you can only sent emails from whatever@yourdomain.com and no longer from yourdomain@gmail.com).
I’m still using mem_self_register for new registrations, and that still works. But I’ve been battling to keep all sorts of things going, across a number of sites. Right now I’m trying to get email notifications for comments back up, but as emails that are sent out often arrive hours late, it’s a slow process…
Edit: I’m now using pearmail (see http://forum.textpattern.com/viewtopic.php?id=37647) which fixed comment notification emails
Last edited by M_i (2012-11-18 17:12:42)
Offline