Closed (fixed)
Project:
Mail
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2005 at 16:46 UTC
Updated:
13 Oct 2005 at 07:40 UTC
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?
Comments
Comment #1
nedjoThanks 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.
Comment #2
pumi77 commentedI 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?
Comment #3
pumi77 commentedSorry, a mistake ... I can not choice a role!!!
Comment #4
nedjoNot sure what the issue was, but I've made some changes and tested and I think it's fixed.
Comment #5
pumi77 commentedThank 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.
Comment #6
pumi77 commentedI 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
Comment #7
nedjoOkay. 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)?
Comment #8
nedjoAh, 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.
Comment #9
pumi77 commentedThats it! Thank you!
Comment #10
pumi77 commentedThats it! Thank you!
Comment #11
pumi77 commentedThats it! Thank you!
Comment #12
pumi77 commentedThats it! Thank you!
Comment #13
geoffa commentedI'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
Comment #14
pumi77 commentedI'd the same same problem. You must update the mail module. There are some changes. Now it works!
pumi77
Comment #15
geoffa commentedThanks 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
Comment #16
nedjoThanks 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).
Comment #17
geoffa commentedI 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
Comment #18
geoffa commentedNeed 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
Comment #19
nedjo(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.
Comment #20
geoffa commentedWorks like a charm. Thanks for fixing it.
-geoff
Comment #21
(not verified) commentedComment #22
bobby-1 commentedComment #23
(not verified) commentedComment #24
(not verified) commentedComment #25
(not verified) commentedComment #26
(not verified) commentedComment #27
(not verified) commentedComment #28
(not verified) commented