WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Configure SMTP] From email address

[Plugin: Configure SMTP] From email address

  • I’m using Configure SMTP v3.1 with Contact Form 7 and gmail as the SMTP server. When I receive the email, the From field has the name of the person who filled out the contact form but the Gmail account as the email address. Can it be set up so the email From field is the person’s name and their email address? If that is not possible, can I set it so it is the Gmail address with my name? The way it is now is confusing.

    http://wordpress.org/extend/plugins/configure-smtp/

Viewing 5 replies - 1 through 5 (of 5 total)
  • This is also a problem for me. I’d love to hear an answer.

    I had the same problem.

    I managed to circumvent by adding the fields name and email on the message body, so I know who sent it.

    On the Contact form 7 plugin config page, scroll to ’email’, then on the right hand side just add
    [your-subject]
    [your-name]
    [your-email]
    [your-message]
    then you will receive this information on the message body.

    It is not the best solution yet, since you can’t simply reply emails you get, you have in fact to copy the sender’s email from the message body and paste it into the recipient field on your email client, otherwise you’re replying to yourself.

    Well, same problem. I hoped somebody found a solution…

    OK, found the solution – inspired by http://wordpress.org/extend/plugins/wp-mailfrom-ii/ plugin.
    You have to define a low hook priority for Confgure SMTP for the functions wp_mail_from and wp_mail_from_name.
    So open the configure-smtp.php files and change lines 160 and 161 to get

    add_filter( 'wp_mail_from', array( &$this, 'wp_mail_from' ), 1 );
    add_filter( 'wp_mail_from_name', array( &$this, 'wp_mail_from_name' ), 1 );

    It should work.

    No, it does not work… Sorry. I think it’s not possible at all.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Configure SMTP] From email address’ is closed to new replies.