Skip to content

Commit

Permalink
[irods#7562] Deprecate msiSendMail.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn authored and alanking committed Mar 18, 2024
1 parent 329c4e3 commit 075ce0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doxygen/microservices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- #msiSubstr - Returns a substring of the given string
\subsection msiemail Email Microservices
- #msiSendMail - Sends email
- #msiSendMail - (Deprecated) Sends email
\subsection msikv Key-Value (Attr-Value) Microservices
- #writeKeyValPairs - Writes key-value pairs to stdout or stderr and with given separator
Expand Down
7 changes: 5 additions & 2 deletions server/re/src/mailMS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@
*
* \brief Sends email
*
* \deprecated Deprecated in 4.3.2. Use the Python rule engine plugin or expose your own mail utility via msiExecCmd.
*
* \module core
*
* \since pre-2.1
*
*
* \note This microservice sends e-mail using the mail command in the unix system. No attachments are supported. The sender of the e-mail is the unix user-id running the irodsServer.
* \note This microservice sends e-mail using the mail command in the unix system. No attachments are supported. The
* sender of the e-mail is the unix user-id running the irodsServer.
*
* \usage See clients/icommands/test/rules/
*
Expand All @@ -41,7 +44,7 @@
* \pre none
* \post none
* \sa none
**/
**/
int msiSendMail( msParam_t* xtoAddr, msParam_t* xsubjectLine, msParam_t* xbody, ruleExecInfo_t* ) {

const char * toAddr = ( char * ) xtoAddr->inOutStruct;
Expand Down

0 comments on commit 075ce0c

Please sign in to comment.