Jump to content

Recommended Posts

Posted

I have an issue with campaigns end date reminders.


Test case:

As a Default Manager

  • go to the Preferences > Account Preferences > Campaign email Reports Preferences
  • Under section "Account email Warnings" select checkbox "Send a warning to the account every time a campaign is almost expired" and set "Send a warning when the days left are less than specified here" to 1.
  • Under section "Advertiser email Warnings" select checkbox "Send a warning to the advertiser every time a campaign is almost expired" and set "Send a warning when the days left are less than specified here" to 1.
  • add a new advertiser, provde your email under Contact and Email fields
  • select Email when a campaign is automatically activated/deactivated
  • add a new campaign assigned to new advertiser:
  • select type Remnant, select tart date from -3 days and end date to +1 day (tommorow)
  • add text banner to this campaign, assign to zone (previously defined)

as an Administrator

  • ensure that on "Debug Logging Settings" tab option about logging is enabled
  • on the "Email Settings" tab ensure that "Log all outgoing email messages" is enabled

enter the maintanence script
http://MY_INSTALL_URL/maintenance/maintenance.php

Nothing happened. In the logs in Revive there are information about maintanence, but no info about email, no emails in inbox (spam checked).

Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Running Maintenance Engine
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Running Maintenance Statistics Engine
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OX_Maintenance_Statistics_Task_SetUpdateRequirements
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  - Maintenance statistics will NOT be run
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OX_Maintenance_Statistics_Task_SetUpdateRequirements
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OX_Maintenance_Statistics_Task_MigrateBucketData
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OX_Maintenance_Statistics_Task_MigrateBucketData
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OX_Maintenance_Statistics_Task_DeDuplicateConversions
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OX_Maintenance_Statistics_Task_DeDuplicateConversions
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OX_Maintenance_Statistics_Task_ManageConversions
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OX_Maintenance_Statistics_Task_ManageConversions
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OX_Maintenance_Statistics_Task_SummariseFinal
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OX_Maintenance_Statistics_Task_SummariseFinal
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OX_Maintenance_Statistics_Task_LogCompletion
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OX_Maintenance_Statistics_Task_LogCompletion
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OX_Maintenance_Statistics_Task_ManageCampaigns
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OX_Maintenance_Statistics_Task_ManageCampaigns
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Maintenance Statistics Engine Completed (Started at 2016-02-06 17:04$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Running Maintenance Priority Engine
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OA_Maintenance_Priority_AdServer_Task_GetRequiredAdImpre$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OA_Maintenance_Priority_AdServer_Task_GetRequiredAdIm$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OA_Maintenance_Priority_AdServer_Task_GetRequiredAdImpre$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OA_Maintenance_Priority_AdServer_Task_GetRequiredAdIm$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OA_Maintenance_Priority_AdServer_Task_AllocateZoneImpres$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]    - Selecting Zones forecasts for all managers for OI from 2016-02-0$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Inserted 18 rows in the table tmp_ad_zone_impression
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OA_Maintenance_Priority_AdServer_Task_AllocateZoneImp$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OA_Maintenance_Priority_AdServer_Task_PriorityCompensati$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]    - Selecting Zones forecasts for all managers for OI from 2016-02-0$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OA_Maintenance_Priority_AdServer_Task_PriorityCompens$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OA_Maintenance_Priority_AdServer_Task_ECPMforContract
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  - Selecting All Managers
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  - Selecting All Managers
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]    - Selecting active campaigns with priority = '9' for manager 1
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]    - Selecting active campaigns with priority = '8' for manager 1
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]    - Selecting active campaigns with priority = '7' for manager 1
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]    - Selecting active campaigns with priority = '6' for manager 1
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OA_Maintenance_Priority_AdServer_Task_ECPMforContract
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task begin: OA_Maintenance_Priority_AdServer_Task_ECPMforRemnant
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  - Selecting Managers with ECPM priority campaigns running
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Task complete: OA_Maintenance_Priority_AdServer_Task_ECPMforRemnant
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Maintenance Priority Engine Completed (Started at 2016-02-06 17:04:2$
Feb 06 18:04:23 +0100 OX-maintenance-56b62796e97a1 [     info]  Maintenance Engine Completed (Started at 2016-02-06 17:04:23 UTC, ta$

No logs in sendmail.

Functionality does not work or my testcase is bad.

Please note that the camapign will be expired tommorow (as set), but no notification is sent.

 

Testing mails:

While I am sending email using script:

<?php

mail('[email protected]', 'Test subject', 'Test content')

In mailog there are messages:

Feb  6 17:59:31 athlan sSMTP[31370]: Sent mail for nginx@*** (221 2.0.0 Bye) uid=998 username=nginx outbytes=403

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...