WordPress.org

Ready to get started?Download WordPress

Forums

Configure SMTP
From email address (6 posts)

  1. bruceb1969
    Member
    Posted 1 year ago #

    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/

  2. essdub
    Member
    Posted 1 year ago #

    This is also a problem for me. I'd love to hear an answer.

  3. lcarlos
    Member
    Posted 1 year ago #

    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.

  4. Li-An
    Member
    Posted 1 year ago #

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

  5. Li-An
    Member
    Posted 1 year ago #

    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.

  6. Li-An
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.