Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
after some further experimenting I can conclude that the content of the body is NOT sent to any recievers
* even when I send as admin (user=1),
* completely regardless of any settings of mail.module
* regardless of roles
* regardless of whether users choose to recieve mail or not
I installed the module as usual and activated it
I went to content types acitivated email for content type email
I created node type email - filled out title and body
I set it to send to some user roles - plus tired different settings such as plain, html etc.
I submitted
I got no messages except that the node had been sent to the assigned roles
I then recieved emails at the users assigned for recieving, BUT only the title and submitted info was there - in the body of the email the content from the node was missing - nothing there except title and submitted by .... at ....
Changed priority because it is now clear from my testing with other themes that the problem results only in combination with my custom theme ( presumably node.tpl.php )
I will report back with more info as soon as I isolate the problem completely.
Comments
Comment #1
lennart commentedafter some further experimenting I can conclude that the content of the body is NOT sent to any recievers
* even when I send as admin (user=1),
* completely regardless of any settings of mail.module
* regardless of roles
* regardless of whether users choose to recieve mail or not
Comment #2
nedjoThanks for the note. Please give give details on the steps you followed, and any messages. What content type have you designated as mailed?
Comment #3
lennart commentedhi nedjo,
I installed the module as usual and activated it
I went to content types acitivated email for content type email
I created node type email - filled out title and body
I set it to send to some user roles - plus tired different settings such as plain, html etc.
I submitted
I got no messages except that the node had been sent to the assigned roles
I then recieved emails at the users assigned for recieving, BUT only the title and submitted info was there - in the body of the email the content from the node was missing - nothing there except title and submitted by .... at ....
thanks
Lennart
Comment #4
lennart commentedChanged priority because it is now clear from my testing with other themes that the problem results only in combination with my custom theme ( presumably node.tpl.php )
I will report back with more info as soon as I isolate the problem completely.
Best
Lennart
Comment #5
lennart commentedI made a fairly standard node-mail.tpl.php for the mail type content - and now the body content is showing up without problems in the emails.
This still means I will not be able to email other content types, but I can live with that ;-)
My node.tpl.php is very modified, and something in it somehow stops mail.module from being able to mail body content from nodes based on it.
If someone knows what it is, please tell me.
Best
Lennart
Comment #6
(not verified) commentedComment #7
(not verified) commentedComment #8
lennart commented