use noreply address as fallback if no incoming email address exists
darcs-hash:20080804133933-84dde-189f0ee39bf1000fbb648144fadcf9a9263c4b38.gz
This commit is contained in:
parent
f2203d1df6
commit
f0f6d0e603
@ -197,7 +197,7 @@ function mail_send_sms_notice($notice, $user) {
|
||||
common_log(LOG_INFO, "Sending notice " . $notice->id . " to " . $user->smsemail, __FILE__);
|
||||
|
||||
$headers = array();
|
||||
$headers['From'] = $user->incomingemail;
|
||||
$headers['From'] = (isset($user->incomingemail)) ? $user->incomingemail : mail_notify_from();
|
||||
$headers['To'] = $to;
|
||||
$headers['Subject'] = sprintf(_('%s status'),
|
||||
$other->getBestName());
|
||||
|
Loading…
Reference in New Issue
Block a user