Hi,
I installed ejournal 3 days ago.
Now, each time drupal sends email, for example notify of comments or subscriptions or other things, at the end there is always this message:

This e-mail generated by e-journal module

can you explain how to remove it?
thanks.

Comments

romca’s picture

Hi,
the email function should be templated and rewriten, I know

For now, you can do two things:, either edit the function:

function ejournal_mail_alter(& $mailkey, & $to, & $subject, & $body, & $from, & $headers) {
	$body .= "\n" . t("This e-mail generated by e-journal module");
}

or, if you grab the latest code from the CVS, which simply added the t() call to the function above
you can translate the string with the Drupal's locale module

ie. you can say that "This e-mail generated by e-journal module" is translated to "" (nothing)

romca’s picture

Status: Active » Postponed
romca’s picture

Status: Postponed » Closed (fixed)

or remove the e-mail from the ejournal-id configuration