-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trigger email from Script #1545
Comments
Did you mean to create this as an issue? |
It wont create an issue. Instead of using 'Notification' OOB module you can write 4 line code and initiate the notification based on your business requirement. |
You created an Issue on GitHub. Did you mean to submit a pull request? |
Yes. |
Do you want to make a pr with this code snippet so that you can get Hacktoberfest credit? |
Yes, Can you please add it? |
You will need to create your own pull request to get credit. Please see the link here and look at the contributing and readme files for any repo you wish to make additions to. |
Use the following script to send email dynamically
var mail = new GlideEmailOutbound();
mail.setSubject('Hello darkness, my old friend');
mail.addRecipient('[email protected]');
mail.addAddress('cc', '[email protected]');
mail.setBody("I've come to talk with you again");
mail.save();
The text was updated successfully, but these errors were encountered: