Hi all,
I have some triggers which send e-mail.
Would it be possible to insert in the e-mail the current time (i.e. the time when the trigger was fired).
Thanks
Marco
time = indigo.server.getTime()
emailAddress = "me@me.com"
emailBody = (u'This is the body of the email. It can contain lots of information if you wish. For example, the current time is: %s' % time)
indigo.server.sendEmailTo(emailAddress, subject="Email subject text goes here", body=emailBody)
Users browsing this forum: No registered users and 12 guests