4 include_once
'Services/Mail/classes/class.ilMimeMail.php';
20 include_once
'Services/PHPUnit/classes/class.ilUnitUtil.php';
26 $this->assertEquals(
'foo',
'foo');
33 $mail =
new ilMail($ilUser->getId());
43 $tmp = $ilSetting->get(
'mail_external_sender_noreply');
45 $ilSetting->set(
'mail_external_sender_noreply',
'');
47 $mail =
new ilMail(ANONYMOUS_USER_ID);
48 $sender = $mail->getMimeMailSender();
50 $ilSetting->set(
'mail_external_sender_noreply', $tmp);
59 $tmp = $ilSetting->get(
'mail_external_sender_noreply');
61 $ilSetting->set(
'mail_external_sender_noreply',
'host.de');
63 $mail =
new ilMail(ANONYMOUS_USER_ID);
64 $sender = $mail->getMimeMailSender();
66 $ilSetting->set(
'mail_external_sender_noreply', $tmp);
75 $tmp = $ilSetting->get(
'mail_external_sender_noreply');
77 $ilSetting->set(
'mail_external_sender_noreply',
'doNotReply@host.de');
79 $mail =
new ilMail(ANONYMOUS_USER_ID);
80 $sender = $mail->getMimeMailSender();
82 $ilSetting->set(
'mail_external_sender_noreply', $tmp);