< Previous | Contents | Next >
MailMessage
class MailMessage
Parent class: Object
Represents an email message.
Please note that if no explicit server settings are set with the SetServer, SetLogin and SetPassword
![]()
methods, the default Preferences (Globals -> Network -> Server Settings ...) are used. If these are not set the recipient server is tried to be reached.

mail.AddRecipients(“vfx@studio.com, myself@studio.com”)
mail.SetSubject(“Render Completed”) mail.SetBody(“The job completed.”)
print(mail.SendTable())
status = mail.SendTable().values()
if len(status) > 1:
print(status[1]) # error message
print (status[0]) # success boolean
mail = fusion.CreateMail()
> Python usage:

mail:AddRecipients(“vfx@studio.com, myself@studio.com”)
mail:SetSubject(“Render Completed”) mail:SetBody(“The job completed.”)
print(ok)
print(errmsg)
ok,errmsg = mail:Send()
mail = fusion:CreateMail()
> Lua usage: