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) »
  • SMTP configuration issues
Pages: [1]

Author Topic: SMTP configuration issues  (Read 5026 times)

info@auditfoundation.org

  • Guest
SMTP configuration issues
May 22, 2007, 03:05:07 pm
Good afternoon,

I have not been able to get the CiviMail to successfully send a test message.

I can confirm;

1. setting the global CiviCRM outbound email settings correctly (using authentication)
2. Successfully testing the SMTP settings for the sender email address in Outlook.
2. Setting the password in Edit file: /administrator/components/com_civicrm/civicrm.settings.php
As follows;

*/
define( 'CIVICRM_SMTP_PASSWORD', 'password'
);


however, I attempt to send the test email and I receive the following err;

test mailing could not be delivered due to the following error:
Failed to add recipient: @localhost [SMTP: Invalid response code received from server (code: 501, response: <@localhost>: no local part)]

Could someone please help me?

Thanks


Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: SMTP configuration issues
May 22, 2007, 09:19:22 pm
Which version of PHP are you using? CiviMail does not work with PHP 4.
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.

info@auditfoundation.org

  • Guest
Re: SMTP configuration issues
May 25, 2007, 11:29:06 pm
Yes PHP 5. I got to send a test message. However, now the cron job wont go. The emails just sit their in "scheduled" mode. I manually scheduled the crons;

cd '/home/audit5/public_html/administrator/components/com_civicrm/civicrm/CRM/Mailing/BAO/' ; php -q 'civimail.cronjob.php' > /dev/null ;
 
cd '/home/audit5/public_html/administrator/components/com_civicrm/civicrm/CRM/Mailing/BAO/' ; php -q 'Job.php' > /dev/null ;

But it still will not kickoff --

Any thoughts?


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: SMTP configuration issues
May 26, 2007, 03:31:22 am

civimain.cronjob.php is in the bin directory. can u do:

cd /home/audit5/public_html/administrator/components/com_civicrm/civicrm/bin
php civimail.cronjob.php

and see what errors it emits. this should give us some more clues

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

info@auditfoundation.org

  • Guest
Re: SMTP configuration issues
May 26, 2007, 08:26:07 am
Thanks for the prompt reply -

This is a hosted site on lunarpages so I can't run the php command. I did throw it in the cron job though. I have received no errors so far.



Looking through the forum last night I saw a post about issues with reports so I set a similr cron for

;components/com_civicrm/civicrm/bin/civimail.cronjob.php

and I got the following error;  "No input file specified."

Thanks,

info@auditfoundation.org

  • Guest
Re: SMTP configuration issues
May 26, 2007, 09:38:26 am
[Editor: modified post to remove link since people will click on it]

I opened the link in my webbrowser and it sent the queue'd mail immediately --

I guess I do not have the write syntax on the crontab --

Any thoughts?

« Last Edit: May 26, 2007, 12:49:03 pm by Donald Lobo »

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: SMTP configuration issues
May 26, 2007, 12:50:08 pm

you'll have to work with your local system administrator to figure out what is happening and why things were not working from command line etc. Its kinda hard to have too many thoughts with insufficient information

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

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

This forum was archived on 2017-11-26.