Lescasse Consulting
 Home    Company    News    Prices    Download    Buy    Forums   
Read Me
Buy
Forums
Resume
AntiSpam 1.2
wBackup 1.11
NetAccess 2.0
Visual APL 1.0 
APL+Win 7.3 
APL+Win Products 
APL+Win Objects™ 
APL+Win Training 
APL+Web Services
APL+Web Component 
APL+ History
Dyalog.Net Tutorial
Conferences 
Powerpoint
White Papers
Web Hosting
References
Links
 
APL+Win Objects™ 6.0

TADO5
TADO5 Tutorial
TAPLDraw5
TAPLEdit5
TAPLSession5
TAbale5
TAboutBox5
TAccess5
TAgent5
TBlatMail5
TButton5
TCDO5
TCRC5
TCancelButton5
TCheck5
TCheckGroup5
TChildForm5
TChooseColor5
TChooseFont5
TClipBoard5
TClock5
TCodeStats5
TColors5
TCombo5
TComboDrive5
TComboFilter5
TComboList5
TComboTree5
TCommandBar5
TCommandButton5
TControlClass5
TCueCard5
TDHTML5
TDHTMLEditor5
TDateTime5
TDateTimeFr5
TDates5
TDemoHandlers5
TDisplay5
TDOS5
TDualSelect5
TEdit5
TEditAmount5
TEditDir5
TEditEnter5
TEditFile5
TEditGrid5
TEditList5
TEditListview5
TEditMenu5
TEditNum5
TEditSelect5
TEditSpin5
TEmail5
TError5
TExampleForm5
TExcel5
TExcel5 Tutorial
TFindReplace5
TFOne5
TFTP5
TFTP5 Tutorial
TFileCompare5
TFileMenu5
TFileMenuDef5
TFlatButton5
TForm5
TFormClass5
TFormEditor5
TFrame5
TGetDir5
TGif5
TGifForm5
TGifWb5
TGoMenu5
TGraphX5
TGrid5
TGridDisplay5
TGridPrint5
TGUID5
THLine5
THTML5
THTML5 Tutorial
THTTP5
THelp5
THelpMenu5
TImagelist5
TInfo5
TIniFile5
TInstall5
TInternet5
TJpg5
TJpgWb5
TLabel5
TList5
TListview5
TLock5
TLogs5
TMAPI5
TMath5
TMDIForm5
TMSOutlook5
TMaskEdit5
TMedia5
TMenu5
TMessage5
TModalCall5
TMsgBox5
TNavigator5
TNetwork5
TNonVisualClass5
TODBC5
TOKButton5
TObject5
TOpenFile5
TOption5
TOptionGroup5
TOutlook5
TOutlookMail5
TOWCSpread5
TPDF5
TPFKeys5
TPage5
TPassword5
TPicture5
TPing5
TPopupMenu5
TPowerpoint5
TPowerpoint5 Tutorial
TPrinter5
TProgress5
TProgressDlg5
TQuestion5
TRegistry5
TRegistryKey5
TResource5
TRichEdit5
TSPX5
TSQLDMO5
TScheduler5
TScroll5
TSelector5
TSpinner5
TSplitter5
TStatus5
TStopWatch5
TTest5
TTestError5
TTextFile5
TTimer5
TTip5
TTipForm5
TTLI5
TToolBar5
TToolbox5
TToolsMenu5
TTrackbar5
TTranslate5
TTree5
TVLine5
TViewMenu5
TWebBrowser5
TWebServer5
TWebSite5
TWebSiteNet5
TWinMenu5
TWord5
TYesNo5
    Visits:  3322 (23 on line) Last Update: Dec 21, 2003  
    TBlatMail5    Printer Friendly  
 
Description   Inheritance   Example   Properties   Methods
 
 Description

The non visual TBlatMail5 Object uses a Windows console utility called Blat to send E-mails via SMTP.
You can attach one or more files to your Emails.  This object requires the Blat 1.9.4 DLL utility (found at
http://www.geocities.com/toby_korn/blat) which is delivered with APL+Win Objects™ 6.0

Blat Documentation
------------------

Blat v1.8.9: WinNT/95 console utility to mail a file via SMTP
by P.Mendes, M.Neal, G.Vollant, T.  Charron
http://www.blat.net
syntax:
Blat <filename> -to <recipient> [optional switches (see below)]
Blat -install <server addr> <sender's addr> [<try>[<port>[<profile>]]] [-q]
Blat -profile [-delete | "<default>"] [profile1] [profileN] [-q]
Blat -h [-q]

-install <server addr> <sender's addr> [<try n times> [<port> [<profile>]]]
: set's SMTP server, sender, number of tries and port for profile
(<try n times> and <port> may be replaced by '-').

<filename> : file with the message body ('-' for console input, end with ^Z)

-to <recipient> : recipient list (also -t) (comma separated)
-tf <recipient> : recipient list filename
-subject <subj>: subject line (also -s)
-f <sender> : overrides the default sender address (must be known to server)
-i <addr> : a 'From:' address, not necessarily known to the SMTP server.
-cc <recipient>: carbon copy recipient list (also -c) (comma separated)
-cf <file> : cc recipient list filename
-bcc <recipient>: blind carbon copy recipient list (also -bcc) (comma separated)

-bf <file> : bcc recipient list filename
-organization <organization>: Organization field (also -o and -org)
-body <text> : Message body
-x <X-Header: detail>: Custom 'X-' header.  eg: -x "X-INFO: Blat is Great!"
-r : Request return receipt.
-d : Request disposition notification.
-h : displays this help.
-q : supresses *all* output.
-debug : Echoes server communications to screen (disables '-q').

Description   Inheritance   Example   Properties   Methods
 
 Inheritance

Inherits from:  TObject5

Description   Inheritance   Example   Properties   Methods
 
 Example
 

      'blat'Świ'*Create' 'TBlatMail5'
      'c:\filebody.txt'Śncreate Ż19876
      (1000˝'This is a file attached to a message sent by TBlatMail5',Śtcnl)Śnappend Ż19876
      Śnuntie Ż19876
      'blat'Świ'to' 'eric@lescasse.com'
      'blat'Świ'sender' 'LESCASSE,Eric'
      'blat'Świ'subject' 'Test'
      'blat'Świ'body'('This is a test message',Śtcnl,'sent under program control by the TBlatMail5 object!')
      'blat'Świ'Send'
0

      Śdl 1
      'c:\filebody.txt'Śntie Ż19876
      'c:\filebody.txt'Śnerase Ż19876
 
Description   Inheritance   Example   Properties   Methods
 
 Properties
 
attach    
Description:  Specify which files should be attached to the E-mail 
bcc    
Description:  Specify the list of E-mail addresses to be in the Blind Copy list 
body    
Description:  Specify the E-mail body content 
cc    
Description:  Specify the list of E-mail addresses to be in the CC list 
class    
Description:  Return current object class 
Syntax:  class„'obj' Świ 'class' 
help    
Example: 
0 0˝'blat' Świ '*Create' 'TBlatMail5' 
'c:\filebody.txt' Śncreate Ż19876 
(1000˝'This is a file attached to a message sent by TBlatMail5',Śtcnl)Śnappend Ż19876 
Śnuntie Ż19876 
'blat' Świ 'to' 'eric@lescasse.com' 
'blat' Świ 'sender' 'LESCASSE,Eric' 
'blat' Świ 'subject' 'Test' 
'blat' Świ 'body' ('This is a test message',Śtcnl,'sent under program control by the TBlatMail5 object!') 
'blat' Świ 'Send' 
0 0˝Śdl 1 
'c:\filebody.txt' Śntie Ż19876 
'c:\filebody.txt' Śnerase Ż19876 
sender    
Description:  Specify the sender name 
subject    
Description:  Specify the Email subject 
to    
Description:  Specify the recipent(s) address(es) 
Description   Inheritance   Example   Properties   Methods
 
 Methods
 
Install    
Description:  Syntax: rc„'obj' Świ 'Install'smtpserveraddress sendersaddress {tryNtimes} 
smtpserveraddress: examples:  smtpapp.tf1.fr  or smtp.easynet.fr 
senderaddress: examples:  automate_mail 
tryNtimes: examples:  3 
rc: 0 if success 
Example: 'blat' Świ 'Install' 'smtp.easynet.fr' 'eric@lescasse.com' 3  
New     Description: Create a new instance of TBlatMail5
Example:
      'obj' Świ '*Create' 'TBlatMail5'

Description   Inheritance   Example   Properties   Methods
 
 This entire Web site has been dynamically generated by APL+Win Objects™ 6.0
 For all questions contact:  info@lescasse.com
 Copyright © 2003-2005 Lescasse Consulting. All rights reserved.