Thursday, December 04, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  Developers  Email Campaigns...
 Email Campaigns - help?!
 
KillerKiwi
33 posts
Joined
2/12/2007

Email Campaigns - help?!
Posted: 22 Apr 08 12:57 AM
Trying out the new campaign manager and trying to do a send and/or a test send

Stepping through the code it looks like spCAMPAIGNS_SendEmail is called and after that nothing happens

ie [public static void SendQueued] dosn't do anything and vwEMAILMAN_Preview and vwEMAILMAN_Send return no rows

A couple of questions:
  • Which table are queued campaign emails stored in ? I'm assuming EMAILMAN (based on the view names) which is empty...
  • I've setup a smtp server under application settings, do I need a pop account, or that just for tracking ?
  • Is there any documentation some where I've missed on this?
Cheers

Jason Taylor

"This one's tricky. You have to use imaginary numbers, like eleventeen..." - Calvin
support
2153 posts
1st
Joined
1/3/2006

Re: Email Campaigns - help?!
Posted: 22 Apr 08 2:51 AM

spCAMPAIGNS_SendEmail is the right place to start.  This procedure adds a record to EMAILMAN for each email to be sent. If nothing is getting inserted, then you will want to look at vwCAMPAIGNS_Send.  This view does some complicated joins to determine the emails that need to be sent. 

KillerKiwi
33 posts
Joined
2/12/2007

Re: Email Campaigns - help?!
Posted: 22 Apr 08 8:20 PM
SELECT * FROM vwCAMPAIGNS_Send

still returns nothing...... I've double check every thing I can think of... there is just no records generated in the database.....

I don't have the sql code so I cant trouble shoot any further..... there must be a missing setting some where

The only thing I see left is that the mailbox item in the Email Marketing has no items to select from

Jason Taylor

"This one's tricky. You have to use imaginary numbers, like eleventeen..." - Calvin
support
2153 posts
1st
Joined
1/3/2006

Re: Email Campaigns - help?!
Posted: 22 Apr 08 9:21 PM Modified By support  on 4/22/2008 9:23:31 PM)

You are going to have to start at the top of the table joins to discover the problem.  First, get a valid Campaign ID.  I'm going to abbreviate the campaign ID as 98765.

1. Check to make sure that there are email marketing records asssociated with the campaign.
   select * from EMAIL_MARKETING where CAMPAIGN_ID = 98765

2. Check to make sure that there are prospects associated with the campaign.
   select * from PROSPECT_LIST_CAMPAIGNS where CAMPAIGN_ID = 98765

3. Check to make sure that there are valid email associated with the prospect lists.
   select * from PROSPECT_LIST_CAMPAIGNS 
  inner join vwPROSPECT_LISTS_Emails
  on vwPROSPECT_LISTS_Emails.ID = PROSPECT_LIST_CAMPAIGNS.PROSPECT_LIST_ID
  where CAMPAIGN_ID = 98765

There are two more joins, but it would be useful to know if we have results.  If we have no results at this stage, then the place to look is the vwPROSPECT_LISTS_Emails view.

KillerKiwi
33 posts
Joined
2/12/2007

Re: Email Campaigns - help?!
Posted: 23 Apr 08 5:18 PM
Ok... its a mostly blank db which will help here

select * from EMAIL_MARKETING

19B46B43-7DF5-4D4F-BF91-175A57EB13A4 0 00000000-0000-0000-0000-000000000001 04/22/08 03:21 PM 58D96893-8086-4660-8AB2-D0BE17212FB3 04/23/08 12:07 PM test NULL jason 04/02/08 10:00 AM 1900-01-01 10:00:00.000 93EFED5B-2E9C-43DF-9AB2-D560881FE0A9 77CA7FFC-B918-4B3C-9FC7-574D578154D0 NULL active 1
64DC08EA-296E-432A-9390-A1D0F7CA5E10 0 00000000-0000-0000-0000-000000000001 04/23/08 12:14 PM 00000000-0000-0000-0000-000000000001 04/23/08 12:14 PM test NULL jason 04/02/08 10:00 AM 1900-01-01 10:00:00.000 93EFED5B-2E9C-43DF-9AB2-D560881FE0A9 77CA7FFC-B918-4B3C-9FC7-574D578154D0 NULL active 1

select * from PROSPECT_LIST_CAMPAIGNS

0C42719F-79D4-4C99-9246-140B1594FD0F 0 00000000-0000-0000-0000-000000000001 04/22/08 02:40 PM 00000000-0000-0000-0000-000000000001 04/22/08 02:40 PM 2F723AE2-C196-48C7-BD30-52C890B7A10F 77CA7FFC-B918-4B3C-9FC7-574D578154D0

 select * from PROSPECT_LIST_CAMPAIGNS
  inner join vwPROSPECT_LISTS_Emails
  on vwPROSPECT_LISTS_Emails.ID = PROSPECT_LIST_CAMPAIGNS.PROSPECT_LIST_ID

nothing

SELECT * FROM vwPROSPECT_LISTS_Emails

nothing

My TargetList for the campaign had one user and one contact, I added a lead and SELECT * FROM vwPROSPECT_LISTS_Emails now returns
2F723AE2-C196-48C7-BD30-52C890B7A10F test test Leads C2C69B85-0724-4D95-8617-56D0D9FB13AD jason taylor jason@XXXXXXXXX.co.nz


Still no emails are sent for test or send


"This one's tricky. You have to use imaginary numbers, like eleventeen..." - Calvin
  Mainstream Forums  Developers  Email Campaigns...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.