Viewing 3 replies - 1 through 3 (of 3 total)
  • barnez

    (@pidengmor)

    If an email is being sent from your website domain, it should now have a FROM address from that domain. This is because emails are being spoofed by spammers and are being sent from a different domain (e.g. I send you a message from my domain but claim to be sending it from paypal.com). Such messages are being routed into the Spam folder, and so best practice is now to include a FROM email address that is from the website domain. Look at the following setup:

    == MAIL ==
    To: [email protected]
    From: [your-name] <[email protected]>
    Subject: Re: [your-subject]
    Additional Headers: Reply-To: [your-email]

    What happens and why:

    1. The mail is sent from the contact form to the email address specified in the TO field.
    2. When you receive the message, it will have the sender’s name and be from the “wordpress” email address specified in FROM (Depending in your hosts, this may need to be a real email address (test to see if it processes), and it does need to be @your-domain.com).
    3. By including Re: in the SUBJECT, you will ensure that the field always has some text in it, even if the sender does not complete this field (Best practice is to ensure that there is at least some text in the subject field). Or, you can make the SUBJECT a required field in the *Form* by adding an asterisk: [text* your-subject]
    4. Adding the Reply-To: [your-email] in ADDITIONAL HEADERS means that you can reply to the sender by hitting the Reply button in your email client.
    5. If you want to actually see the sender’s email address in the message you receive you can include it in the MESSAGE section. For example:

    MESSAGE BODY:

    From: [your-name] <[your-email]>
    Subject: [your-subject]

    [your-message]

    Thread Starter glampkin

    (@glampkin)

    Thank you for your reply. I understand what you are saying. However, as you can see, from this test we did, it comes in as
    [email protected] on behalf of wordpress [email protected]

    So first, we would like to know how to make it come in as the name of the person sending the email (the sender) so that the email does not have to be opened up to see the patients name. Is this possible?

    screen shot:
    https://drgrossman.com/wp-content/uploads/2016/03/email1.jpg

    Thank You,

    Greg

    barnez

    (@pidengmor)

    No problem at all.

    To see the patient’s name in the message, change the From field in Mail as follows:

    [your-name] <[email protected]>

    You might also choose to remove Sender: [email protected] from the Additional Headers field so that when the mail arrives, the From field in the mail client only shows the noreply address.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Email subject showing WordPress no name of sender’ is closed to new replies.