doubt about email method used by notifications

Discussion in 'ISPConfig 3 Priority Support' started by pinkfeet, Feb 11, 2017.

  1. pinkfeet

    pinkfeet Member HowtoForge Supporter

    Hello,
    i'm in a doubt, i hope you can help me with it.
    In System -> Main Config -> Mail, we have this:
    Use SMTP to send system mails
    SMTP host
    SMTP port
    SMTP user
    SMTP password
    Use SSL/TLS encrypted connection for SMTP​
    Also in System -> Server Config -> "our server" -> Mail, we have this:
    Relayhost
    Relayhost user
    Relahyhost Password​
    Actually i've filled both sections but the quota notifications emails are sended using the mail function. I've examined
    the email notification's headers received and i can see this line:
    X-PHP-Originating-Script: 0:monitor_tools.inc.php​
    Near the end of that file, there is a call for a mail function, i suppose it's used for send the emails:
    public function send_notification_email($template, $placeholders, $recipients) {
    ...
    for($r = 0; $r < count($recipients); $r++) {
    mail($recipients[$r], $mailSubject, $mailBody, $mailHeaders);
    }
    ...​
    So, is it possible monitor_tools.inc.php script doesn't uses SMTP o Relay settings for send its emails ?
    Thanks a lot,
    Regards,
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

  3. pinkfeet

    pinkfeet Member HowtoForge Supporter

    Thanks Florian,
    Regards,
     

Share This Page