When I send invitations or other messages, not all users receive them.
The message at the top of the page says it was succesfully sent though.

If you need any additional info, feel free to ask.

Any help? Thanks.

Comments

mark antony’s picture

Looking further into this, I noticed that when I change a user's e-mail address and then send out an invitation to that user, the invitation is still sent to the old e-mail address. Even a couple of days after the change.
I don't know what's causing this.

To test whether drupal was the problem or whether the hosting company was at fault, I duplicated the site on another host. I just downloaded all files and uploaded to some free host. That version of the site has the same problem with changing e-mail addresses, but so far all e-mails have arrived as they should.

So it seems the not changing is caused by drupal/rsvp, while the not sending is caused by the hosting company. I have already contacted them, but they haven't found the problem (yet).

The host that has problems sending mails has the following web server info (taken from the drupal status report):
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8
The alternative host:
Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

mark antony’s picture

According to the hosting's support people, the server receives no request to send an e-mail for those that don't arrive.
I suppose this means the problem lies with drupal? So then why does it work with another host?

mark antony’s picture

I installed the SMTP module to bypass the hosts php mailserver, but the problem persists. This means the problem is really caused by drupal or RSVP.
Help?!

ulf1’s picture

Hello Mark,

sorry for replying so late, but I was out of the country.

The problems that emails are not being sent can stem from various problems, maybe a problem with the php version or the mail server, but drupal and resvp uses by default the mail function which returns a boolean value, and if this function returns true (which it obviously does in your case) means that the mail went out and drupal has no control over what your mailserver is doing with it.
I had a somewhat similar problem which I followed up by writing a very small php app which is doing nothing else then creating an email, sending it out and check the error code. I put it on my root directory and called it through a webbrowser. With that I could prove some problems my webhoster had.
Good luck.

Regarding the changed email address, rsvp stores internally the email address for each guest you invite. I have not looked at it in detail, but I am pretty sure that RSVP uses its internal stored email address when sending out emails and not the users official email address (which might have changed).
Only workaround that I see at the moment is to remove the guest from the invitation and then add him again. Or you update the email address in the database table rsvp_invite directly.

Not nice, but this is how it is at the moment.

Thanks,
Ulf

mark antony’s picture

Status: Active » Closed (fixed)

Hmm, I forgot this thread still existed. :P

Using the SMTP module did fix the problem, but the e-mails were marked as spam (I had received e-mails from the site before, which made me unsuspecting toward my spam filter).
Informing every user to check their spam took care of the issue. :)

As for the e-mail address changing, since e-mail addresses rarely change I don't think it's much of a problem if I have to re-invite someone. It's just that it made testing quite difficult. ;)

Thanks for the reply, anyway. :)

I'll close this issue, since I no longer care what the problem really is, as long as SMTP fixes it. :)