WordPress.org

Ready to get started?Download WordPress

Profiles

presbycan

Profile picture of presbycan
  • Member Since: February 12th, 2013
  • Posted a reply to "Return Path management on wp_mail function", on the site WordPress Support Forums:
    You're right. The $phpmailer object doesn't persist, but an instance is created with the first…

    1 year ago

  • Posted a reply to "Return Path management on wp_mail function", on the site WordPress Support Forums:
    A much simpler solution in a plugin before wp_mail(): global $phpmailer; $phpmailer->Sender = $return_path;

    1 year ago