0

I'm using the Printer, email, and PDF versions module. On all my 'resource' nodes (resource content type) I have a link now that says 'Send by Email'. Great. But when it sends the email it's sending it with a'from' address as MY email (the site admin). I'd rather it be the email of the person who's sending the resource. There is an email field on that form they have to fill out to send the resource to someone else.

Anyone know how to make the email they use for THEIR email in the form be the 'from' email to whomever they are sending this resource?

0

It's in Administration » Configuration » User interface » Printer, email and PDF versions, as the Use Reply-To Header option.

enter image description here

  • Thanks, but I had that checked already. The problem is that I want to enable this feature for anonymous users, not just logged in users. – Sage May 28 '15 at 5:32
  • Have you granted anons permission to Access the Send by email functionality? – Shawn Conn May 28 '15 at 5:37
  • yes, I have. They can send the email fine, it just always shows as coming from me, the drupal admin. I'm wondering if maybe there's a way to alter it programmatically with a hook or something. – Sage May 28 '15 at 5:57
  • Hmm, are you on shared hosting or some environment where outgoing email might be restricted? The toggling Reply-To... allows me to send out emails as name@example.com. – Shawn Conn May 28 '15 at 6:05
  • Yes, I am on shared hosting. You can just specify an email right there in the config page? Hmmm...any idea how to fix that with shared hosting? I would think the option would still appear though...Drupal doesn't know I have shared hosting. Am I totally wrong for thinking that? – Sage May 28 '15 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.