- $mailer = new PlMailer();
- $mailer->addTo($type . '@' . $globals->mail->domain);
- $mailer->setFrom('"' . $prenom . ' ' . $nom . '" <web@' . $globals->mail->domain . '>');
- $mailer->setTxtBody($type . ' soumis par ' . $prenom . ' ' . $nom . ' via la modération de la liste ' . $list . '@' . $domain);
- $mailer->addAttachment($raw_mail, 'message/rfc822', $type . '.mail', false);
- $mailer->send();
- }
+ $mailer = new PlMailer();
+ $mailer->addTo($type . '@' . $globals->mail->domain);
+ $mailer->setFrom('"' . $prenom . ' ' . $nom . '" <web@' . $globals->mail->domain . '>');
+ $mailer->setTxtBody($type . ' soumis par ' . $prenom . ' ' . $nom . ' via la modération de la liste ' . $list . '@' . $domain);
+ $mailer->addAttachment($raw_mail, 'message/rfc822', $type . '.mail', false);
+ $mailer->send();
+ }