PureBasic - Mail
Mail is now a common way for information to be exchanged between two distant computers. The functions within this library allow for not only the creation of mail, but also the ability send this mail to either a single recipient or to multiple recipients. In addition, optional attachments may be made when desired. This may then be sent through a mail server.
All the mail commands are based on the network library, therefore the InitNetwork() function must be called before any of them are used.
Note: on Linux, 'libcurl' needs to be installed to have the mail commands working (most of Linux distributions comes with it already installed).