Hi all,

I am setting up PANIC ALARM and would like to use Gmail's SMTP to send out alarm emails.

The documentation just says that:

PyAlarm supports two ways of sending mails configured with the MailMethod class property:

using mail shell command, when MailMethod is set to mail, which is default,
or using smtplib python library when MailMethod is set to smtp[:host[:port]].

I take it that the systax to choose smtp is something like smtp[smtp.gmail.com:587]

But I have been looking for 2 days now in the forums and the documentation for a way to specify username and password to no avail.

Would anyone please share his experience on this?

Thanks in advance.