Eyeon:Script/Reference/Applications/Fusion/Classes/Fusion/CreateMail

From VFXPedia

Jump to: navigation, search

Contents

Fusion : CreateMail

Arguments

CreateMail()

Returns

A MailMessage object handle that can be manipulated with other mail related functions.

Remarks

Within Fusion there are a number of scripts that can be used to send information to people through email. This could be utilized to notify a user when their render is complete, or if any errors have occurred with a render.

Requirements

  • eyeonScript 5.0
  • Fusion 5.0

Examples

-- Creates a MailMessage, adds recipients, a subject and body, and sends it.

mail = fusion:CreateMail()
 
mail:AddRecipients("vfx@studio.com, myself@studio.com")
mail:AddSubject("Render Completed")
mail:AddBody("The ".. job:GetAttrs().RJOBS_Name .." job completed successfully.")
 
ok,errmsg = mail.Send()


Tips for CreateMail (edit)

EyeonTips:Script/Reference/Applications/Fusion/Classes/Fusion/CreateMail