Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
When I send mail of a node the title and submitted info is sent - but NOT the body content of the node!
Best
Lennart
Comments
Comment #1
lennart CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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) CreditAttribution: commentedComment #7
(not verified) CreditAttribution: commentedComment #8
lennart CreditAttribution: lennart commented