P2 By Email
Invalid from address on https site (2 posts)

  1. rjmackay
    Posted 2 years ago #

    On an https site the emails get set from an invalid address like:
    This function only replaces http:// but should also replace https.

    	 * Get a fake email address for this domain
    	 * @param string       $mailbox         A fake mailbox
    	 * @return string      $email_address   A fake email address at this domain
    	protected function get_domain_email_address( $mailbox ) {
    		return $mailbox . '@' . rtrim( str_replace( 'http://', '', home_url() ), '/' );


  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    Great catch! Want to submit a pull request with a fix?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • P2 By Email
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.