Doesn't work
pumi77 - June 17, 2005 - 16:46
| Project: | |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I have to different sites with drupal installed (4.6.1) and the mail-module doesn't work. I can't choice recipients (roles) and in the settings for content type, I can't enable email sttings! Whate make I wrong?

#1
Thanks for the report. This sounds like a support request. Please provide further detail. What do you see on the content type settings page? What happens when you try to change the setting? What happens when you try to send a mail post? Also, please ensure you're using the updated (posted yesterday) version.
#2
I installed & downloaded today!
What do you see on the content type settings page?
There is a mail content type! But on this site there is no option to turn on email!
What happens when you try to change the setting?
It says it was saved :-)
What happens when you try to send a mail post?
It says "Emailing is not yet enabled for mail posts. An administrator must enable it in the mail content configuration page."
When I send an Email, I can choice a role.
I'm logged in as admin! I thought it must be my fault, but it doesn't work on the second "clean" installation, too!
Maybe is a bug in the new version from yesterday?
#3
Sorry, a mistake ... I can not choice a role!!!
#4
Not sure what the issue was, but I've made some changes and tested and I think it's fixed.
#5
Thank you very much! No I see the box to choice a role as recepient. But I don't receive emails!
I add a role "test email". Put my account to this role. Then I created a email an choice the role test email! I save it ... and no email goes out.
Maybe you can help me again.
Thanks a lot.
#6
I looked in the server mail.log and there aren't any outgoing mails, after adressing a role (which have members) and saving it.
An other problem I have is with the content types. I can't find an enable email option in any type. Maybe there ist something wrong.
Kind regards,
pumi
#7
Okay. I'm unable to replicate the error (it works for me) and no one else yet has reported having this issue. Have you ensured your server correctly sends out mail in other cases (e.g., on user registration)?
#8
Ah, the issue may be a change I introduced, which requires that users opt in to receiving emails. Have you tried registering a new user? See the element on the registration form asking if user wants to receive site emails. Or, for an existing user, go to the edit page and change the setting.
#9
Thats it! Thank you!
#10
Thats it! Thank you!
#11
Thats it! Thank you!
#12
Thats it! Thank you!
#13
I'm still unable to submit mail through the "Create Content > Mail" link. I'm getting the following error message: Emailing is not yet enabled for mail posts. An administrator must enable it in the mail content configuration page.
When I go there I don't see an option to disable/enable e-mail like all other content types.
Thanks for any help,
-geoff
#14
I'd the same same problem. You must update the mail module. There are some changes. Now it works!
pumi77
#15
Thanks for the response. I downloaded the latest version from CVS and the mail controls are now showing up when I "Create Content > Mail". The error message is still there re: mail content type, the form will submit, but no e-mail is sent. Sending mail works find for other content types (story, event, etc.) where I have mail enabled.
Thanks for any additional help. Great community here.
-geoff
#16
Thanks for the note. The warning was an error, which I've now fixed. But the mail should be going out. Try either (a) sending it from your admin account (to bypass the check if users have opted in to emails) or making sure you have opted in users (see above).
#17
I uploaded the new version and got the following error when attempting to go to the Drupal site:
Parse error: parse error, unexpected T_STRING in /home/dltcms/modules/mail/mail.module on line 18
#18
Need to delimit the " characters on line 18 for this to run:
... \"administer users\" ...
Still isn't sending mail for mail content type though. Any ideas?
-geoff
#19
(blush) Yep, my clever new approach to enabling mail sending without requiring a content type setting had neatly disabled it. I've gone back to the old method--admin has to enable mail sending for mail content type just like other content types. geoffa, could you confirm that this works now? Thanks.
#20
Works like a charm. Thanks for fixing it.
-geoff
#21
#22
#23
#24
#25
#26
#27
#28