The new Net library supports FTP, SMTP and POP3 protocols. This library replaces the FTP library. Both regular connections and SSL connections are supported.
SMTP - Allows you to directly connect to SMTP mail servers and send mails, including Html messages and attachments (more complicated than it may sound
POP3 - Allows you to directly connect to POP3 mail servers and download messages. Currently the messages are not parsed. The raw string is returned.
- Download the attach file.
- Copy Net.xml and Net.jar to the internal libraries folder: C:\Program Files\Anywhere Software\Basic4android\Libraries
If you have previously downloaded the FTP library then you should delete it. The new library is backwards compatible with the FTP library.
The documentation which includes examples is available here: Basic4android - Net
Mails can be a very good and reliable communication channel for Android devices which are likely to not always be connected.
It allows you to take advantage of the mailing technology which is one of the most popular and veteran Internet technology.
V1.20 - New FTP.SendCommand.