Last active
January 24, 2024 13:30
-
-
Save bharat20185/a69330b0351e460e6aa0a311c545fbc0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
function sendMail( | |
required string fromAddress, | |
required string toAddresses, | |
required string subject, | |
required string content, | |
numeric priority = 1, // urgent | |
string ccAddresses, | |
string bccAddresses, | |
array attachments | |
) output="true" { | |
dump(arguments) | |
} | |
sendMail( | |
fromAddress = "[email protected]", | |
toAddresses = "[email protected],[email protected]", | |
subject = "test email", | |
content = "body of the email", | |
attachments = [], | |
priority = 2 | |
); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment