Send email: Difference between revisions

Content added Content deleted
m (Put in netowrking cat)
Line 1: Line 1:
{{task|Networking and Web Interaction}}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.
{{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.
* 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.
* Solutions using libraries or functions from the language are preferred, but failing that, external programs can be used with an explanation.