Login free email marketing free email marketing

Troubleshooting the Campaign Sending Process

email support live chat
 

By default, logging of the campaign sending process is turned off to save space on your server.

Sending logs can be setup in two places: locally (per campaign) or globally (system-wide).

In order to turn the sending log on globally, for all campaigns in the system, please run one or both of the following queries against your MySQL database:

UPDATE em_backend SET mailer_log_file = 4; # updates all campaigns from now on

UPDATE em_campaign SET mailer_log_file = 4; # updates all existing campaigns

If you wish to turn the debugging on for a single campaign instead, simply create that new campaign using the link such as this one:

http://yourdomain.com/path/to/em/admin/main.php?action=campaign_new&debug=4

Available logging levels are:

0 = Off
1 = Errors only
2 = Failed deliveries
3 = Network commands
4 = Everything

If a campaign is set to log the sending process (or a system-wide setting is turned on), the campaign you are creating will create a sending log file during the sending in your Email Marketing installation’s cache folder (you will also have a link for it on your Campaign Report page). After the campaign is sent out, you will be able to see what happened when, and what happened to each email address (as well as when was it processed).

If you wish to turn off the system-wide logging, run the following query:

UPDATE em_backend SET mailer_log_file = 0;
# updates all campaigns from now on

UPDATE em_campaign SET mailer_log_file = 0; # updates all existing campaigns

(Note: In later versions of the software, you will also see a message on the top of the start-up page when you are logged in to the software as “admin,” notifying you that sending logs are enabled and prompting you to disable them if you’d like.)
If a single campaign was made with logging on (by using &debug=X in URL), then running this query will turn it off for that campaign:

UPDATE em_campaign SET mailer_log_file = 0 WHERE id = 123; # updates the campaign with ID=123 back to 0 (off)

Sending logs are saved in your /cache/ folder, with a filename campaign-X.log, where X refers to the campaign ID.

Please have in mind that a log file will consume up to 1kb per subscriber: therefore your cache folder can end up having a lot of large files, which could impose problems on your server quota. (For example, if a campaign X is sending to 10 000 subscribers, then the log file should be around 10MB.)

   
Blog  •  About  •  Contact  • 
© 2003-2012 ActiveCampaign,Inc. All rights reserved.
Email Marketing Software  •  Customer Service Software  •  Survey Software