Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
userspace:library:sendmail [2014/02/11 13:32]
embl-structures
userspace:library:sendmail [2014/03/28 14:52] (current)
embl-structures
Line 60: Line 60:
 ; USAGE: ; USAGE:
 ;          Sub "​%SCRIPTDRIVE%\lib\UseSendMail.sub"​ ;          Sub "​%SCRIPTDRIVE%\lib\UseSendMail.sub"​
-;          Set $_mail_subject ​= "Your Mail Subject"​+;          Set $_mail.subject ​= "Your Mail Subject"​
 ; ;
 ;          Set $_mail.msgtype ​   = "​stringlist"​ ;          Set $_mail.msgtype ​   = "​stringlist"​
Line 89: Line 89:
 DefVar $_mail.msgstring DefVar $_mail.msgstring
 DefVar $_mail.msgfile DefVar $_mail.msgfile
-DefVar $_mail.msgsubject+DefVar $_mail.subject
 </​code>​ </​code>​
  
Line 147: Line 147:
  
 [WinBatch_Mail_SendMailFromFile] [WinBatch_Mail_SendMailFromFile]
-"​%SCRIPTDRIVE%\lib\blat311\bin\blat.exe"​ "​$_mail.msgfile"​ -serverSMTP smtp.your.domain -f "Name <​email@ddress>"​ -to "Name <​email@ddress>"​ -subject "​$_mail.msgsubject"+"​%SCRIPTDRIVE%\lib\blat311\bin\blat.exe"​ "​$_mail.msgfile"​ -serverSMTP smtp.your.domain -f "Name <​email@ddress>"​ -to "Name <​email@ddress>"​ -subject "​$_mail.subject"
  
  
 [WinBatch_Mail_SendMailFromString] [WinBatch_Mail_SendMailFromString]
-"​%SCRIPTDRIVE%\lib\blat311\bin\blat.exe"​ - -serverSMTP smtp.your.domain -f "Name <​email@ddress>"​ -to "Name <​email@ddress>"​ -subject "​$_mail.msgsubject" -body "​$_mail.msgstring"​+"​%SCRIPTDRIVE%\lib\blat311\bin\blat.exe"​ - -serverSMTP smtp.your.domain -f "Name <​email@ddress>"​ -to "Name <​email@ddress>"​ -subject "​$_mail.subject" -body "​$_mail.msgstring"​
  
  
 [WinBatch_Mail_SendMailFromLocalFile] [WinBatch_Mail_SendMailFromLocalFile]
-"​%SCRIPTDRIVE%\lib\blat311\bin\blat.exe"​ "​$__mail.msgfile"​ -serverSMTP smtp.your.domain -f "Name <​email@ddress>"​ -to "Name <​email@ddress>"​ -subject "​$_mail.msgsubject"+"​%SCRIPTDRIVE%\lib\blat311\bin\blat.exe"​ "​$__mail.msgfile"​ -serverSMTP smtp.your.domain -f "Name <​email@ddress>"​ -to "Name <​email@ddress>"​ -subject "​$_mail.subject"
 </​code>​ </​code>​
  
  

QR Code
QR Code userspace:library:sendmail (generated for current page)