Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-10-25 16:00:03

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

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

#2 2012-10-25 20:16:47

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

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

#3 2012-10-26 11:49:04

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

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

#4 2012-10-26 11:51:39

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

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

#5 2012-10-26 13:07:45

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

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

#6 2012-10-27 05:29:54

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

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

Board footer

Powered by FluxBB