This works for me...
def SendEmail(msgType,sender,recipient,subject,message):
"""
Sends either a log file or a string message in email to
recipient.
Uses Google smtp server to send the mail.
CHANGELOG:
2006-12-7:Set sender, recipient, subject as input variables
-
On 20/07/07, DJ Fadereu <[EMAIL PROTECTED]> wrote:
> Hello, can anyone help me with this? What am I doing wrong here?
>
> (I've changed private info to /xx)
> I'm getting an authentication error while using a standard script
> Gmail:
> --SCRIPT--