Doesn't work

pumi77 - June 17, 2005 - 16:46
Project:Mail
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
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

nedjo - June 17, 2005 - 16:56
Category:bug report» support request

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

pumi77 - June 17, 2005 - 17:49

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

pumi77 - June 17, 2005 - 17:56

Sorry, a mistake ... I can not choice a role!!!

#4

nedjo - June 18, 2005 - 17:51

Not sure what the issue was, but I've made some changes and tested and I think it's fixed.

#5

pumi77 - June 19, 2005 - 08:18

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

pumi77 - June 20, 2005 - 09:05

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

nedjo - June 20, 2005 - 16:30
Category:support request» bug report

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

nedjo - June 20, 2005 - 16:51

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

pumi77 - June 20, 2005 - 16:58

Thats it! Thank you!

#10

pumi77 - June 20, 2005 - 16:58

Thats it! Thank you!

#11

pumi77 - June 20, 2005 - 16:59

Thats it! Thank you!

#12

pumi77 - June 20, 2005 - 16:59

Thats it! Thank you!

#13

geoffa - June 21, 2005 - 05:07

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

pumi77 - June 21, 2005 - 06:56

I'd the same same problem. You must update the mail module. There are some changes. Now it works!

pumi77

#15

geoffa - June 21, 2005 - 14:42

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

nedjo - June 21, 2005 - 15:42
Component:Miscellaneous» Code

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

geoffa - June 21, 2005 - 23:01

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

geoffa - June 22, 2005 - 02:56

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

nedjo - June 22, 2005 - 14:05

(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

geoffa - June 23, 2005 - 00:04

Works like a charm. Thanks for fixing it.
-geoff

#21

Anonymous - July 7, 2005 - 00:15

#22

bobby - July 21, 2005 - 00:25

#23

Anonymous - August 4, 2005 - 06:00

#24

Anonymous - August 18, 2005 - 06:00

#25

Anonymous - September 1, 2005 - 07:00

#26

Anonymous - September 15, 2005 - 07:01

#27

Anonymous - September 29, 2005 - 07:21

#28

Anonymous - October 13, 2005 - 07:40
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.