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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • (Solved) Basic Mail Settings problem
Pages: [1]

Author Topic: (Solved) Basic Mail Settings problem  (Read 2899 times)

pdowling

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 4
(Solved) Basic Mail Settings problem
January 06, 2009, 08:07:34 pm
Hi,

I'm not trying to use Civimail, just do the basic settings on "Global Settings/Outbound Email".

I've filled in all as per my host.  When I click "Save & Send Test Email" it reports success, but I'm not getting an email at the target address.

Notes:
 - I know it is authenticating because if I purposely put a bad password CiviCRM reports an authentication error
 - I'm running Drupal (obviously from the forum section!) and Drupal doesn't seem to have problems sending mail
 - I haven't set up a cron job for CiviCRM yet, but I have used the link for flushing the queue

Any thoughts on troubleshooting this?  I got the mail log from my host, but no idea what I'm looking for there.

Thanks,

Peter
« Last Edit: January 07, 2009, 05:52:43 pm by pdowling »

bubbasheeko

  • Guest
Re: Basic Mail Settings problem
January 06, 2009, 08:28:49 pm
Remind me....does Drupal have the option to choose between sendmail and smtp?

If so...try using sendmail.

pdowling

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 4
Re: Basic Mail Settings problem
January 06, 2009, 08:51:12 pm
Not that I can see.  Drupal just seems to work.  Which probably means it is just using sendmail yes?

Even so, if I put in the Sendmail option (using correct server path) in the Outbound Email screen in CiviCRM and click "Save & Send Test Email" CiviCRM is still reporting success.

So I'm stuck.  And since Drupal sends emails fine my host is not really sure how to help me.  They did send me the server log, but I have to admit that didn't help me.  I looked for the target email address and the source email address in the log and the places where I found it looked like log entries for emails I had sent from my mail client so I couldn't tell where the server went wrong (if it went wrong).

Unfortunately I'm running out of expertise to troubleshoot this.

Thanks,

Peter

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Basic Mail Settings problem
January 07, 2009, 03:32:01 am
Just to be sure: you do test the same email address with both Drupal and CiviCRM?

(And as for what Drupal uses, it most probably resorts to the PHP mail() function, which usually passes the email to the system’s sendmail binary.)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

pdowling

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 4
Re: Basic Mail Settings problem
January 07, 2009, 05:52:20 pm
Piotr,

Yes, same email.

Just reporting back that I solved this problem.  After some fishing around I found that CiviCRM uses and requires PEAR Mail to be installed.  That was missing.  Fortunately it was simple to install on my host.

Thanks for replies.

- Peter

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Basic Mail Settings problem
January 08, 2009, 05:17:00 am
Quote from: pdowling on January 07, 2009, 05:52:20 pm
After some fishing around I found that CiviCRM uses and requires PEAR Mail to be installed.  That was missing.

Hmm, that’s strange. We do ship PEAR’s Mail class in packages/Mail – can you verify that you have this file in your install?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

pdowling

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 4
Re: (Solved) Basic Mail Settings problem
January 13, 2009, 05:06:44 pm
I'm using Drupal.  I have the following files in this directory...
/sites/all/modules/civicrm/packages/Mail

mail.php
mime.php
mimeDecode.php
mimePart.php
null.php
RFC822.php
sendmail.php
smtp.php

Let me know if you want me to report on anything else.  However, installing the PEAR package on my webhost (I'm using bluehost) clearly and immediately solved my problem.

Thanks,

Peter

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • (Solved) Basic Mail Settings problem

This forum was archived on 2017-11-26.