PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Admin notification custom recipient

  1. nicomollet
    Member

    Hello,

    I setup a form, and a notification to admins. I want a custom recipient using the "Notification From" & "Notification From Name "field.
    The problem is: the custom recipient doesn't show up in the email notification, instead it's the WP admin email.

    Is there something wrong in what I am trying to achieve?

    Using functions.php I also extended this form to send multiple custom emails with wp_email(), with a header "From: customrecipient@email.com", and the recipient shows up fine.

    Why does the GF notification can't handle my custom recipient?
    Thanks for your help.

    Posted 11 years ago on Thursday October 18, 2012 | Permalink
  2. If you still need help with this, can you please post the custom code you have added so we can see what you're trying to accomplish? Thank you.

    Posted 11 years ago on Wednesday October 24, 2012 | Permalink
  3. nicomollet
    Member

    The custom code I use is for sending another email, it should not interfere with the standard GF notification email.

    I am talking about the GF notification email to admin. I filled the "Notification From" & "Notification From Name" fields. When receiving the email, the recipient doesn't show the "Notification From" email I typed: it's the WP admin email.

    Posted 11 years ago on Wednesday October 24, 2012 | Permalink
  4. I understand about your additional email and the code you're using there.

    Sounds like the host or WordPress is rewriting the email headers. Can you try installing an SMTP plugin to see if you can avoid the headers being rewritten?

    See this recent explanation:
    http://www.gravityhelp.com/forums/topic/notification-to-administrators-from-email-bug#post-83535

    Posted 11 years ago on Thursday October 25, 2012 | Permalink