SendAnEmail

From Pickwiki
Revision as of 20:53, 25 June 2009 by TonyG (talk | contribs) (Added link to U2 forum discussion)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Was there some old content for this page?

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.

Under Unix

Under Windows

Retrieving e-mail : POP3 / IMAP

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"

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 

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.