Send email: Difference between revisions

Content added Content deleted
Line 775: Line 775:
-- @param {string} [cc=VOID] - optional; multiple addresses separated with ;
-- @param {string} [cc=VOID] - optional; multiple addresses separated with ;
-- @param {string} [bcc=VOID] - optional; multiple addresses separated with ;
-- @param {string} [bcc=VOID] - optional; multiple addresses separated with ;
-- @param {propList} [serverProps=VOID] - allows to overwrite default settings
-- @param {propList} [serverProps=VOID] - optional; allows to overwrite default settings
-- @return {bool} success
-- @return {bool} success
----------------------------------------
----------------------------------------
Line 815: Line 815:
if not voidP(bcc) then put " -bcc "&QUOTE&bcc&QUOTE after cmd
if not voidP(bcc) then put " -bcc "&QUOTE&bcc&QUOTE after cmd


put "1>nul 2>nul&if errorlevel 1 echo ERROR" after cmd
put " 1>nul 2>nul & if errorlevel 1 echo ERROR" after cmd
res = sx.shell_cmd(cmd)
res = sx.shell_cmd(cmd)