Support » Plugin: Contact Form 7 » use same email in To and From fields

  • Resolved ratamatcat

    (@ratamatcat)


    Can the To and From fields (Mail tab) be the same email?

    To admin@myowndomain.com
    From [your-name] <admin@myowndomain.com>

    Thereby replacing:
    From [your-name] <wordpress@myowndomain.com>

    which was set up by default.

    So in effect the routing email is the same as the destination email?

    As a side note, I sent a test email from the default ‘Contact form 1’ and received it, despite never having created a wordpress@myowndomain.com email address. How did this work?

    thanks!

    PS – I read in the excellent documentation that the wordpress@myowndomain.com email should be set up anyway for various other reasons, so I will do this as well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Some hosts might restrict the use of same email in the To and From fields. If yours is the case, follow the host’s advice.

    You can also use the wordpress@{your-site-domain} address, and it is recommended in Best Practice to Set Up Mail.

    Thanks Takayuki, I will ensure they are different user names to be on the safe side.

    To pin it down a little more, instead of:

    From [your-name] <wordpress@myowndomain.com>

    Can I use:

    From [your-name] <contact@myowndomain.com>

    The only reason I ask is because users will see it and reply etc, and contact@myowndomain.com is a bit more of a generic address

    Or is it still better to use wordpress@myowndomain.com for some reason?

    thanks,

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    No, there is no reason you have to use the wordpress@{your-site-domain} address. That said, the wordpress@{your-site-domain} address could be actually used in other parts of WordPress so preparing it as a real address is recommended.

    Thanks Takayuki, shall do!

    I have one more related question,

    Can I hide the wordpress@{your-site-domain} address so it does not appear to the user in the reply email they receive from me?

    Currently it comes up as (with ‘Sonny’ a test user):

    Quoting Sonny <wordpress@{your-site-domain}>:

    I thought if they could avoid clicking that at all then it might be better, to keep the conversation in the same email address and message

    But if you think this is not necessary or possible to do then I will forget it.

    thanks,

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    I’m not sure what you are trying to do, but if you just don’t want to receive response email at the wordpress@{your-site-domain} address, you may want to try Reply-To header. It is explained in FAQ about Configuration Validator.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.