SendAnEmail
From Pickwiki
The following utilities have all been recommended in MV forums for e-mailing from MV BASIC. Most of these are not Pick-based programs, so the general approach is to EXECUTE "!command " : OPTIONS in order to send your email. Some software is for free, some for fee, and quality often varies completely independent of the cost. If you know of other options, please update this list.
Since we're here, note that e-mailing to a cell/mobile phone is not the same as SMS. Lookup SMS in a search engine for details, or see http://www.twilio.com
Under Unix
- Sendmail
- Mutt http://www.mutt.org/
- UUEnview/UUDeview http://www.fpx.de/fp/Software/UUDeview/ (handles base64/mime-encoding, just an apt-get away)
Under Windows
- BLAT
- PixieRobot http://www.pixieware.com/databyemail.htm
- ActiveFax (for fax and e-mail) http://www.actfax.com/
- Ask about Visage.Emailer: http://www.stamina.com.au
- PrintWizard http://www.anzio.com/
- NebulaMail http://nebula-rnd.com/products/mail.htm
- PicLan-IP Mail Server http://piclan.com/over-mail.htm
- Postie http://www.infradig.com/ (Shareware, author site is erratic, try here)
Retrieving e-mail : POP3 / IMAP
- http://pages.interlog.com/~tcharron/getmail.html
- NebulaMail http://nebula-rnd.com/products/mail.htm
- Postie http://www.infradig.com/
- http://fetchmail.berlios.de/
- Forum discussion here
Since fax is mentioned above, another utility used for fax with MV is VSI-FAX
Usage Examples =
Examples for Unix, sendmail and others
WRITE MAIL.BODY ON DIR.F, "MAIL" EXECUTE "!mail -s test [email protected] < /path/to/dir.f/MAIL"
- sendmail example provided by Jeff Kaufman in CDP
- Another sendmail example by Glen Batchelor
From Frank Winans
OPEN "unix:/tmp" to F.TMP else stop 'tmp' BODY = "HELLO" :@AM:"LINE TWO OF EMAIL" WRITE BODY ON F.TMP,'foo.txt' CMD = "!cat /tmp/foo.txt | mail " CMD := " -s 'my email subject' " CMD := " [email protected]" CMD := " ; rm /tmp/foo.txt" EXECUTE CMD CAPTURING BUCKET
A UUEnview Example
* This will present the file as a base64 mime-encoded attachment E=\!uuenview -b -f "\:FROM.USER:\" -m "\:RECIP:\" -s "\:SUBJECT:\" \:LOCATION EXECUTE E
Examples for Windows
Blat
- Full code from Ricky Ginsburg
- Another code base from Robert Uiterwyk
- Brian Leach posted a note here that shows how to send with BLAT, and also shows how to create a direct verb pointer.