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.

Email notification - PHP?

  1. I'm using inline CSS to style the email sent to the administrator. Many fields in the form are not required and left blank. Of course nothing is displayed if the field value is null but the field label is still displayed.

    Would the Wordpress server parse PHP in the email notification before sending the mail? If so, is there a way to set the display of the label to none if the field is null or empty?

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  2. PHP will not be processed in your notification.

    Can you post the text of your notification to pastie.org or pastebin.com so we can see what you're trying to do? Thanks.

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  3. Thanks, but I've worked around the problem by using a table type layout.
    But, It's good to know that PHP will not be processed in the email notification.

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink

This topic has been resolved and has been closed to new replies.