How I can generate emails with marked as 'from' the person who fills out the form in authorcontact 5.x-1.1?

Comments

JmsCrk’s picture

Hi John,

Version 1.1 should send the emails as 'from' the email address of the person who fills out the form. Is yours diong something different?

Johnxx’s picture

Hi James,
Unfortunately in my case, always in the field “from” in the generated email by version 1.1. is the email address of admin, not the email address of the person who fills out the form and writes his email adress in the field „Email” of the authorcontact's form.

JmsCrk’s picture

Okay, I checked and you're right, that upgrade mustn't have made it into the 1.1 release.

I've put it in the dev version now, give it a few hours for the dev download link to update and you can grab it and test it from there.

Johnxx’s picture

It seems that dev version stop my web site.

JmsCrk’s picture

Hi John

I've installed the dev version on a test server here and it seem sot be working fine - in what way does it 'stop' your website? Is it when you first enable the module or when you try to send an author contact? If you let me know a bit more I can try to identify the problem.

Johnxx’s picture

Version: 5.x-1.1 » 5.x-1.x-dev

Hi James,

I was too laconic. I see white colour on my screen when I try to send an author contact. My Drupal is 5.12 and update status module put message that all my modules are up to date.

yrre7’s picture

Hi,
Is there a way that you can have sender's name show up on the email indicating who's from instead of the sender's email name?
Like: If I receive the email from the sender (Harry), my email would say it's From (Harry) instead of his email address name.

I hope I am making sense.
Thanks advance.

Johnxx’s picture

Hi James,

I changed in your module authorcontact.module,v 1.3 2008/03/11 10:34:07 line

//send the email
drupal_mail('', $to, $subject, $body);

to

//send the email
drupal_mail('', $to, $subject, $body, $from = $email);

and now the emails are sent as 'from' the email address of the person who fills out the form without problems.

JmsCrk’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.