CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Welcome message not being sent after subscription is activated.
Pages: [1]

Author Topic: Welcome message not being sent after subscription is activated.  (Read 4153 times)

simspace

  • Guest
Welcome message not being sent after subscription is activated.
February 02, 2009, 11:38:47 am
Hi,

My welcome message is not being sent after a member's mailing list subscription is activated.
It is enabled and there is custom content in the message.
Any ideas why I may be having this problem?

Thanks!
Chris
« Last Edit: February 02, 2009, 11:51:17 am by simspace »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Welcome message not being sent after subscription is activated.
February 02, 2009, 12:37:06 pm
Have you configured your Outgoing mail correctly?
http://drupal.demo.civicrm.org/civicrm/admin/setting/smtp?reset=1

Are you subscribing to mailing list using below feature?
http://drupal.demo.civicrm.org/civicrm/mailing/subscribe?reset=1&gid=2

Kurund
Found this reply helpful? Support CiviCRM

simspace

  • Guest
Re: Welcome message not being sent after subscription is activated.
February 02, 2009, 04:48:11 pm
Yes to both questions.

I am getting the confirmation email when I subscribe. And when I click the confirm link in the email, my test email acct is activated and added to the correct group.

However, I am not getting the "Welcome" email message (which is component type "Welcome Message" under the admin's "Headers, Footers, and Automated Messages" section) after the account has been confirmed and activated.
« Last Edit: February 02, 2009, 05:56:27 pm by simspace »

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Welcome message not being sent after subscription is activated.
February 03, 2009, 12:45:55 am
 hi Chris

As you are getting "confirmation email" it seems like SMTP settings and email address is valid. (IMO)

Make sure ( twice ) you have "Welcome" message template is "Enabled" and "Default" = true.
If there is no message template set as "Default" and "Enabled"  we are sending empty message.

If you Still not able to get welcome email and familiar with php coding
need debug CRM/Mailing/Event/BAO/Confirm.php from line no 103 (  $component->find(true); ) onward
insert some debug statements like
CRM_Core_Error::debug( 'component',  $component ); 
exit( );

kiran
You Are Designed To Choose... Defined By Choice.

simspace

  • Guest
Re: Welcome message not being sent after subscription is activated.
February 04, 2009, 03:35:49 pm
I am a developer, but I barely know php.
I put the debug statement where you told me and it does dump out my welcome template.
I also put the debug statement in various places, even after the send statement with the same results.
It's good to know my welcome template it is being accessed.
But the dump does not tell me why the email is not being sent.

« Last Edit: February 04, 2009, 09:18:53 pm by simspace »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Welcome message not being sent after subscription is activated.
February 04, 2009, 10:12:49 pm
Quote
Have you configured your Outgoing mail correctly?
http://drupal.demo.civicrm.org/civicrm/admin/setting/smtp?reset=1

Are you able to send Test Mail ?

Kurund
Found this reply helpful? Support CiviCRM

simspace

  • Guest
Re: Welcome message not being sent after subscription is activated.
February 06, 2009, 05:49:32 am
I can send out test emails.
I can send out confirmation emails.
I can even send out a mailing list email to a group.
I am getting the confirmation email when I subscribe with a test email address.
And when I click the confirm link in the email, my test recipient email acct is activated and added to the correct group.

What is not being sent out is the "Welcome" email message. My test recipient email acct is am not getting the "Welcome" email message (which is component type "Welcome Message" under the admin's "Headers, Footers, and Automated Messages" section) after the account has been confirmed and activated.

I also have another issue I can't figure out. When I send out a mailing list email and click "Send Immediately" the mailings never go out. The display show that mailing is scheduled to go out an hour behind the actual time. In other words, I try to send the mailing immediately at 7:00 am and when it's added to the list of scheduled mailings it says 6:00 am.

So now I have two problems:
1) My "Welcome" email messages are not going out
2) "Send Immediately" does not work because CiviMail thinks it's an hour earlier than it really is.

I've been trying to resolve this for over a week now and I really need some help! I have got to get my mailings out!

Thanks
Chris

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Welcome message not being sent after subscription is activated.
February 06, 2009, 06:25:28 am
Chris:

To send mails using CiviMail you need to either set cron job or send it manually.

Check http://wiki.civicrm.org/confluence/display/CRMDOC/CiviMail+Installation#CiviMailInstallation-SettingUptheCronJob

HTh

Kurund
Found this reply helpful? Support CiviCRM

simspace

  • Guest
Re: Welcome message not being sent after subscription is activated.
February 08, 2009, 05:34:45 am
Ok. I tried everything the link about the cron job said. Still nothing. When I go to the CiviMail report it says...

Quote
Delivery has not yet begun for this mailing. If the scheduled delivery date and time is past, ask the system administrator or technical support contact for your site to verify that the automated mailer task ('cron job') is running - and how frequently

I know my email settings are good. Today I worked extensively with my host's tech support.They verified that when I use the cron job to fire off the email list, it seems that ALL the emails are rejected by all the recipient servers. However, if I use the test email function to one single address that works fine.

Honestly, I don't even know if the cron job is working and that the emails are being sent out. Is there a log somewhere (CiviCRM or Drupal) that my help me diagnose this problem. This has become critical. I have to get this mailing out.

Also, why is the list of scheduled mailings always one hour behind? My time zone is correct.
I've checked everything I can think of to correct this.

Thanks!
Chris
« Last Edit: February 08, 2009, 10:05:06 pm by simspace »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Welcome message not being sent after subscription is activated.
February 08, 2009, 11:02:33 pm
Quote
You can also trigger CiviMail to send scheduled mailings by navigating to this URL with your browser:

Drupal: http://<your_site>/civicrm/mailing/queue?reset=1
Joomla: http://<your_site>/administrator/index.php?option=com_civicrm&task=civicrm/mailing/queue&reset=1

Kurund

Found this reply helpful? Support CiviCRM

simspace

  • Guest
Re: Welcome message not being sent after subscription is activated.
February 09, 2009, 05:29:17 am
Kurund, I have done every suggestion in this post.

I have been asking some very specific questions that might help me resolve my problem and they are not being answered.

For example, in the previous post I asked...

Quote
I don't even know if the cron job is working and that the emails are being sent out. Is there a log somewhere (CiviCRM or Drupal) that my help me diagnose this problem?

...but that question was not answered.

So, let me try again with some specific questions:
  • Are there logs anywhere that can tell me if the cron job is working and the mails are being sent out?
  • When I run the cron job, what output should I see to tell me it worked?
  • After running the cron job CiviMail still says "Delivery has not yet begun for this mailing." Why does it still say that if the cron job ran?
  • Why is the list of scheduled mailings always one hour behind? My time zone is correct.
  • Do you think removing CiviCRM and reinstalling it would work?
  • Have you ever seen this problem before?
  • If your not sure what to do or don't have anymore answers, can you think of anyone else that can help?

Thanks!
Chris
« Last Edit: February 09, 2009, 05:47:31 am by simspace »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Welcome message not being sent after subscription is activated.
February 09, 2009, 05:52:17 am
Quote
Honestly, I don't even know if the cron job is working and that the emails are being sent out.

Since you were not sure about your cron job, I mentioned alternate way to send mailing  (i.e without setting cron job )

Quote
You can also trigger CiviMail to send scheduled mailings by navigating to this URL with your browser:

Drupal: http://<your_site>/civicrm/mailing/queue?reset=1
Joomla: http://<your_site>/administrator/index.php?option=com_civicrm&task=civicrm/mailing/queue&reset=1

Quote
Is there a log somewhere (CiviCRM or Drupal) that my help me diagnose this problem?
Mailing status will change to "Completed" once mailing is processed.

If you are still having problem, consider hiring someone from http://civicrm.org/professional

Kurund

« Last Edit: February 09, 2009, 05:54:07 am by Kurund Jalmi »
Found this reply helpful? Support CiviCRM

simspace

  • Guest
Re: Welcome message not being sent after subscription is activated.
February 09, 2009, 08:35:34 am
Quote
You can also trigger CiviMail to send scheduled mailings by navigating to this URL with your browser:
Drupal: http://<your_site>/civicrm/mailing/queue?reset=1

I did try this several times, but since it is a drupal site, it seems I have to trigger it like this...
"http://<my_site>/?q=civicrm/mailing/queue?reset=1"
...and all that does is bring me back to the "Scheduled and Sent Mailings" page where the status column for all the mailings on the list still say "Scheduled" not completed.

If I try the URL in the format you suggested...
http://< my_site >/civicrm/mailing/queue?reset=1
...I get a 404 Not Found Error.

Quote
Mailing status will change to "Completed" once mailing is processed.

So it seems the cron job is not processing the emails or not running.
The status never say's  "Completed" it always says "Scheduled" and I'm sure that's the problem.
How can I find out what is going wrong with the cron job? Or why the trigger event url is not working?

Do you think my CiviCRM install could be hosed, and I just need uninstall it and start from scratch?

Thanks!
Chris
« Last Edit: February 09, 2009, 09:15:08 am by simspace »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Welcome message not being sent after subscription is activated.
February 09, 2009, 09:39:00 am

1. you need to figure out why your cron job is not working. If you are not happy with the "free" and incomplete help from the forums, you might want to consider hiring someone to help you with the install

2. Try running:

http://< my_site >/civicrm/mailing/browse?reset=1&runJobs=1

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

simspace

  • Guest
Re: Welcome message not being sent after subscription is activated.
February 09, 2009, 10:34:15 am
Lobo,

Thank you!!!  That worked!
And it narrowed down my problem - the cron job is failing and the mailings were not being processed.
Now I know I did not screw up my CiviCRM install.
I also know the issue I need focus on resolving.

Obviously I am a CiviCRM newbie.
|
Would you please explain the difference between the event you provided...
http://< my_site >/civicrm/mailing/browse?reset=1&runJobs=1

And the one Kurund kept posting...
http://<your_site>/civicrm/mailing/queue?reset=1

And is there a doc that talks about this functionality?

Thanks!
Chris




« Last Edit: February 09, 2009, 10:42:29 am by simspace »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Welcome message not being sent after subscription is activated.

This forum was archived on 2017-11-26.