RosettaCodeData/Task/Send-email/00-TASK.txt

13 lines
612 B
Plaintext

;Task:
Write a function to send an email.
The function should have parameters for setting From, To and Cc addresses; the Subject, and the message text, and optionally fields for the server name and login details.
* If appropriate, explain what notifications of problems/success are given.
* Solutions using libraries or functions from the language are preferred, but failing that, external programs can be used with an explanation.
* Note how portable the solution given is between operating systems when multi-OS languages are used.
<br>
(Remember to obfuscate any sensitive data used in examples)
<br><br>