[wp-trac] [WordPress Trac] #27811: SERVER_NAME is not defined when running wp-cron from real cron/shell

WordPress Trac noreply at wordpress.org
Tue Apr 15 08:43:57 UTC 2014


#27811: SERVER_NAME is not defined when running wp-cron from real cron/shell
--------------------------+------------------------------
 Reporter:  szepe.viktor  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Mail          |     Version:  3.8.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by dd32):

 This is caused by [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/pluggable.php#L346 wp_mail() using a fallback address] when a
 $from email is not specified.

 I ran into this recently with another CLI WP script, but never looked into
 it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27811#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list