Log, Email Log

<< Click to Display Table of Contents >>

Navigation:  Using SyncBackPro > Expert Mode >

Log, Email Log

Previous pageReturn to chapter overviewNext page


After a profile has been run, SyncBackPro can email the log file. This is especially useful when SyncBackPro is located on a remote machine. The log file can optionally be sent as an email attachment.


In today's world of junk email, many email servers are configured to reject any email that appears to be spam. If your email server is rejecting your log email please make sure you have filled out the settings correctly, e.g. valid To and From addresses are used.


This profile settings page can use and create shared settings.


Email the log file after the profile has run: To email the log file, enable this option. If the profile is disabled then no log will be sent.



Sending Server Connection Details


Email Service: If you use a public email service, e.g. GMail, then you may be able to choose it from the drop-down list. If so, some of the settings will be set automatically for you. Note that you may still need to set things like the login username as they are unique to your account.


Server Type: For most people this should be left as SMTP. However, if you're using a Microsoft Exchange server then you can change this as appropriate. If you are using Microsoft Exchange 2007 or newer then do not use the WebDAV option unless you are using an old version of Microsoft Exchange (2000 or 2003).


Hostname: This is the hostname of your email server, e.g. smtp.mailserver.com. If you're using Microsoft Exchange then enter just the hostname and not the URL. Note that in some cases (never if you're using Microsoft Exchange) you do not need to specify the hostname as SyncBackPro may be able to send the email with just the To and From values set (especially if you're sending an email from yourself to yourself).


To: The email address to send the log file to. Variables can be used. You can enter multiple email addresses by separating them with semi-colons or commas, e.g. [email protected]; [email protected]


From: The email address from which the log file has been sent. Variables can be used. Typically you would put your own email address here. Note that some email servers may reject the email if it is not from a valid email address or an email address on that server.


Subject: The subject to use for the email. You can use variables, e.g. %PROFILENAME%, in the subject, e.g. Log file for %PROFILENAME%. The subject is part of the shared settings, so it is advisable to use variables.


Login: If you must login to your email server (and if you are using Microsoft Exchange then you must) then select Must login to email server and enter your login username and password below. Note that some servers require a login whereas others may fail if you do attempt to login. Check with your email provider or systems administrator. Some email services have 2-step verification for added security. In this case the password may need to be an application specific password and not your actual password. Refer to your email services documentation on how to create an application specific password. Due to spam, most email servers now require you to login. SyncBackPro can login to email servers that require a username and password in clear-text, NTLM, CRAM-MD5, or MSN.


oUsername: The username used to login. This is only enabled if Login is set to Must login to email server.


oPassword: The password used to login. This is only enabled if Login is set to Must login to email server. If your password has spaces in it, and you're not using Exchange, then you may need to enter it with double-quotes. For example, if your password is abc 123 then enter "abc 123" as the password.


oPrompt for the password when run (profile will fail if run unattended): If this option is enabled then every time the profile is run SyncBackPro will prompt you for the password. If the profile is being run unattended, then no prompt will be displayed and the profile run will fail.


Test Email Settings: When clicked SyncBackPro will use the settings above to send a test email. Note that it will only email the summary page (if using HTML logs) and not the entire log as the test is to make sure the settings are correct.





If you are using a Gmail account, and are not using 2FA (Two Factor Authentication) with your Google Account, the following explains how to configure it so it can be used with SyncBackPro:


Login to your Gmail account

Click Settings link in top-right

Go to Forwarding and POP/IMAP tab in Settings

Enable Enable POP for all mail (even mail that's already been downloaded) and Enable IMAP

Change When messages are accessed with POP to keep Gmail's copy in the Inbox

Click Save Changes

You also need to allow access via less secure apps. To do this visit https://myaccount.google.com/lesssecureapps


The problem with Gmail is that it sometimes forgets these settings and so you may have the problem of SyncBackPro saying there are no emails. This is because the Gmail POP server is saying there aren't any emails because the Enable POP for all mail setting is sometimes "forgotten" by Gmail.  Also, sometimes Gmail doesn't appear to delete emails that SyncBackPro asks it to delete.


If you are using 2FA (Two Factor Authentication) with your Google Account then you need to create an App Password for SyncBack. You then use that password instead of your Google password.




All Content: 2BrightSparks Pte Ltd © 2003-2021