When I "send page by e-mail", the message arrives without the text the user types into the "Your message" text area.

CommentFileSizeAuthor
#6 print-1077678.patch466 bytesimclean

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Strange, which sending format did you choose?

I've just tested with both 'inline html' and link and it works fine.

ron collins’s picture

sending in html format from this page.

http://www.optionsforsexualhealth.org/50/education-workshops

when i send it as a link, the text appears.

also strange, if i use thunderbird's filters, thunderbird lists the message as containing the text but even if i look at the message source, i can't ctrl-f it.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Active
ron collins’s picture

Status: Active » Closed (fixed)

this seems to have fixed itself. i'm now having a different problem (when i select "teaser only" it still sends the entire post) but i'll look around and see if there is already a bug posted for that.

ron collins’s picture

Status: Closed (fixed) » Active

whoops. not fixed. :) shoulda read the issue first. my bad.

imclean’s picture

Status: Active » Needs review
StatusFileSize
new466 bytes

To confirm, in the current stable version ( 6.x-1.12 ) the text in "Your message" is never sent when "Inline HTML" (sendpage option) is set. This patch adds it to the email.

ron collins’s picture

Status: Needs review » Reviewed & tested by the community

perfect. thanks!

jcnventura’s picture

Status: Reviewed & tested by the community » Closed (cannot reproduce)

Actually, if I add the patch in #6, I get the message twice.. I guess you've deleted the line in print.tpl.php that adds this message..

@peggysmouse, @imclean: If this is what it takes to solve it for you, then your setup has been modified from the default.. If you're changing the template, you need to try and not break the way it works...

imclean’s picture

@jcnventura, thanks that's exactly what I'd done. The following bit of code was removed from the template file, replacing it fixed my problem:

if (!empty($print['message'])) {
  print '<div class="print-message">'. $print['message'] .'</div><p />';
}