CyberPanel Community

/usr/local/CyberCP/plogical/IncScheduler.py - mail bounce

pa
paulie #1

/usr/local/CyberCP/plogical/IncScheduler.py is sending mail with the same address for sender as the recipient, why?

1 reply
pa
paulie #2

Just talking to myself here. The issue is on line 198, in the git() method, the email is being sent with the same address for both sender and recipient:

logging.SendEmail(web.adminEmail, web.adminEmail, finalText, ‘Git report for %s.’ % (web.domain))

Both parameters are web.adminEmail. Looking at other email calls in the script, the pattern should be SendEmail(sender, recipient, message, subject).

Sign in to reply