[svn r13797] Added code to send survey invitation e-mail as no-reply (in addition to the no-reply header)

skala
Yannick Warnier 18 years ago
parent 69d1b8e8de
commit 08a6663c46
  1. 5
      main/survey/survey_invite.php

@ -314,7 +314,10 @@ function save_invitations($users_array, $invitation_title, $invitation_text, $re
$replyto = array();
if(api_get_setting('survey_email_sender_noreply')=='noreply')
{
$replyto['Reply-to'] = api_get_setting('noreply_email_address');
$noreply = api_get_setting('noreply_email_address');
$replyto['Reply-to'] = $noreply;
$sender_name = $noreply;
$sender_email = $noreply;
}
api_mail_html($recipient_name, $recipient_email, $invitation_title, $full_invitation_text, $sender_name, $sender_email, $replyto);
//mail($recipient_email, strip_tags($invitation_title), strip_tags($invitation_text));

Loading…
Cancel
Save