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) »
  • CiviMail Crashes
Pages: [1]

Author Topic: CiviMail Crashes  (Read 1390 times)

posco

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 8
CiviMail Crashes
November 30, 2007, 08:38:49 am
Hello,

I am working on a Drupal site with CiviCRM installed. We are using Drupal 5.1 and CiviCRM 1.9. We have configured the SMTP settings in the Global Settings panel and have setup a cron job for CiviMail. However, whenever we try to send a message out of CiviMail it seems to crash on us. When composing a New Mailing we can get as far as the Mailing Content tab. After creating a message in both the text message and html message fields and clicking the Next button, we are immediately redirected to the Drupal front page. When we look at our Sent Mailings, none of them have a scheduled  delivery date and all of them have a status of Unknown.

When clicking my browser's back button after I have been redirected to the front page, I can see these error messges:

Code: [Select]
Please correct the following errors in the form fields below:

    * The following errors were detected in text message:
          o This message is missing a required token - {domain.address}: Displays your organization's postal address.
          o This message is missing a required token - {action.optOut}: Creates a link for recipients to opt out of receiving emails from your organization.
          o This message is missing a required token - {action.unsubscribe}: Creates a link for recipients to unsubscribe from the group(s) to which this mailing is being sent.

      More information on required tokens...
    * The following errors were detected in html message:
          o This message is missing a required token - {domain.address}: Displays your organization's postal address.
          o This message is missing a required token - {action.optOut}: Creates a link for recipients to opt out of receiving emails from your organization.
          o This message is missing a required token - {action.unsubscribe}: Creates a link for recipients to unsubscribe from the group(s) to which this mailing is being sent.

      More information on required tokens...

We have also tested the SMTP server using our host's instructions and know that it is working.

Does anyone know what might be causing this issue? Please let me know if I need to provide anymore information.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: CiviMail Crashes
November 30, 2007, 05:11:39 pm
First - if you're message body for each format does NOT include the required tokens - then the errors that you're seeing when you click the Back button are valid errors. See this doc page for info on required tokens:

http://wiki.civicrm.org/confluence/display/CRMDOC/Sample+CiviMail+Messages

However, the expected behavior is that the Mailing Content form should be redisplayed with those error messages. For some reason, this is not happening on your site - and I suspect there's a configuration problem of some sort. Do you get similar behavior when you submit other forms in CiviCRM w/ deliberate errors? For example, go to Manage Groups >> New Group and try to submit the form w/o giving a Name to the Group.

One thing to verify is the CIVICRM_UF_BASEURL in your civicrm.settings.php file. Make sure it's valid, and IF you've specified a base_url value in your Drupal settings.php file - make sure they're the same.
Protect your investment in CiviCRM by  becoming a Member!

Tachikoma

  • Guest
Re: CiviMail Crashes
December 13, 2007, 01:11:42 pm
This solved the problem I was having with the mailings.

I needed to include the three tokens in my mail body.

Thanks Dave!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail Crashes

This forum was archived on 2017-11-26.