Pagine

Tips - How to send email with Allways Sync

To send email with Allways Sync you need to download:

http://allwaysync.com/download/Mail_Client/mailit.zip

You will find MAILTEST.BAT inside archive with sample.


You must modify mailtest.bat as follow (Example)

REM Required input:
SET MAILIT_SERVER=IP_SERVER_SMTP
SET MAILIT_FROM=Backup@mail.XXX
SET MAILIT_TO=destination@domain.xxx
SET MAILIT_SUBJ=Profile_%ps%_Error_%js%_Allways_syncREM *************************************************************************
REM Optional input:
SET MAILIT_MSGTEXT= %errs%
Rem SET MAILIT_MSGFILE=MAILIT.TXT
SET MAILIT_ATTACH=C:\Users\XXXXXXX\AppData\Roaming\Sync App Settings\_SYNCAPP\default.log
REM *************************************************************************
C:\Allways_sync_email\mailit\MAILIT
REM *************************************************************************


If you like you can enable, inside Allways Sync, to save log:

"You can turn on "Save log into file" option and then
select "Log conciseness" parameter as Verbose.
After you done it log messages will be saved in file
[Current User Application Data]\Sync App Settings\_SYNCAPP\default.log."


Unfornately with this solution I'm not able, inside Allways sync, to show environment variable.

N.B. If you need a SMTP server:

http://allwaysync.com/download/SMTP_Ser ... tp05b1.exe

[update 12/11/2014]

here is another useful article that explain how to use a different SMTP client

http://www.helplib.net/help/7ee8a8b6b00a9180eb5f8a7f3e85873c