Send Email
As Application, I want to send an Email to a User.
c.SendEmailToUser
~c.SendEmailToUser~
❓: Initiate sending an email to a userWorkspace:
sys.UserProfileWS
AuthZ:
role.Application
Params
To: Email address of the user
Subject
Body
BodyMime: MIME type of the body, e.g.
text/plain
,text/html
Errors
~err.EmailMalformed~
❓: Email is malformed~err.InvalidMimeType~
❓: Invalid MIME type for the body
Behavior:
The first non-empty value is used as email address:
descr.sys.UserProfileWS.UserProfile.Email
fieldUser's login
Triggers
ap.sys.UserProfileWS.ApplySendEmail
to send an email to the user using an appropriate storage
ap.ApplySendEmail
~ap.ApplySendEmail~
❓: Send an email to a userWorkspace:
sys.UserProfileWS
Triggered by:
c.SendEmailToUser
Behavior:
Sends an email to the user using an appropriate storage based on the command parameters
??? What if the storage fails permanently?
Last updated
Was this helpful?