Hello everyone.
I'm having a problem with Simplenews module.
I'm running Drupal site on which I just installed simplenews.
I allowed anonymous users to submit to a newsletter via Simplenews Block.
When anonymous users tries to submit their email address - nothing happens.
The page refreshes, thats all. No ANY logs, no any error messages.
Also the message "You will receive a confirmation email shortly" doesn't show up.
The sendmail() function isn't called.
If i'm logged in - all functionality of simplenews works as normal.
The newsletters are send correctly if I write one, etc.
The sites address is http://www.geotekst.pl.
I don't use MimeMail module.
I tried Simplenews 1.0 rc4 before, and it worked (some other website).
Does anyone know what it can be happening??
Please help!
Comments
Comment #1
pawel.traczynski commentedI reinstalled the simplenews module 4 times.
Each time the situation was:
-during applying for a newsletter (anonymous) user doesn't see that green message which should state "You will receive a confirmation email shortly (...)". But the confirmation emails are being sent.
So everything works excepting for the green message (which has no problem to be displayed on my 2 other drupal sites).
Any ideas why is it like this?
Comment #2
pawel.traczynski commentedGuys? Anyone here?
Comment #3
pawel.traczynski commentedI also found out that if I click a link in a confirmation email and then confirm my subscription to the newsletter by pressing the button, the message "[email] was added to the Newsletter mailing list" doesn't show up. It redirects me to the home page - that's all.
Of course the email address is added to the mailing list but the anonymous user wouldn't know it untill he gets the fisrt letter send by simplenews.
It is sad that no one want to help me... :-(
Comment #4
niallhatton commentedIm having the same problem, I am not getting any confirmation emails, I can get the newsletters fine, and all normal email e.g accounts & password forget requests, just not the confirmations, it just subscribes instantly
Comment #5
Pboenisch commentedHello,
i have this problem too. I also installed the simplenews on register module but it doesn't work.
But when i change this row in simplenews.module at function simplenews_subscribe_user it works.
if ($confirm) {change to
if (!$confirm) {I think it is a bug.
Comment #6
pawel.traczynski commentedThat's interesting..
I'm running 3 Drupal sites with simplenews.
In two sites the message appears as it should (no need to change anything in the code of simplenews.module).
On the third one there's no confirmation message. I didn't try to hack the modules file to correct it.
Anyway.. weird.
I'll be glad if someone knows the solution and can help.
Comment #7
pawel.traczynski commentedStill no any solution?
Upgrading to the newest Drupal and Simplenews didn't solve the problem...
Comment #8
sutharsan commentedFrom reading the code there is no way a subscription goes without a message. The only thing this behaviour reminds me of people who have a message displayed all the time (during consecutive page loads). This is not simplenews related and may be a core bug.
Pboenisch code in #5 is bad practice and no solution at all.
Comment #9
Anonymous (not verified) commentedCheck to make sure that your .tpl file for that page has the
print $messages;.Sincerely,
Leighton Whiting
Comment #10
pawel.traczynski commentedThank you guys for posting.
@wildkatana: sure it does have the print $messages :-)
The problem doesn't occur in all websites, only some i've seen had this particular issue.
Take care.
Pawel.
Comment #11
Architeck commentedsubscribing, I am using the latest version of simplenews for drupal 6 and I am having the same issue described here.
All other system emails are being sent fine.
Comment #12
sutharsan commentedArchiteck: user the Simplenews handbook at http://drupal.org/node/197057 to debug your site.
Comment #13
sutharsan commentedNo activity, closing the issue.
Comment #14
bba99 commentedI've got the same problem. I tried the changing $confirm to !$confirm but that didn't help.
Comment #15
sutharsan commentedSee #12.
Comment #16
laundrylimbo commentedI have the same problem. (With the same drupal version and installed modules, the problem does not show up on another server however.)
I noticed that $message is just not set.
I checked simplenews.module, and if the confirmation email is sent, drupal_set_message is the only place that could possibly go wrong.
Any idea how drupal_set_message could have failed to set $message?
Comment #17
sutharsan commentedThe on-screen message is not displayed, but is the confirmation email sent?
Comment #18
CardinalFang commentedI'm having the same problem. I've tried 6.x-1.0 and 6.x-1.1. When I change $confirm as per #5, the confirmation emails do get sent out, but when the user follows the confirm link and clicks the subscribe button, the user is not only not subscribed to the newsletter but another confirmation email is generated.
Comment #19
sutharsan commentedDon't use the #5 hack, it is silly and causes your second problem. If you give me your FTP and user/1 login data I will have a look. I can not reproduce myself an the problem seems persistant.
Comment #20
fourmi4x commentedSuscribing
No confirmation emails are sent out in my case either... (and no confirmation massages are displayed).
Everything else works just fine.
I tried Simplenews 6.x-1.1 and 6.x-1.0 with Mime Mail 6.x-1.0-alpha2 and alpha 1
Comment #21
sutharsan commentedSee #12
Comment #22
sutharsan commentedProblems like this are mostly environment related i.e. server configuration, mail server configuration, spam filter, etc. Simplenews can do very little to fix this.
No activity, closing the issue.
Comment #23
Actron commentedI'm also stuck with this problem for two weeks now. Test issues and real newsletters are sent with no problem, but confirmation mails for double opt-in are not delivered. Neither does Simplenews create any subscriber entry.
Has anyone of you solved the problem or knows about it's causer (if environmental)?
Comment #24
Actron commentedMaybe people who read this issue are interested in my solution from this post:
http://drupal.org/node/1358326#comment-5452884