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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Re: Site5 Disables SMTP?
Pages: [1]

Author Topic: Re: Site5 Disables SMTP?  (Read 2719 times)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Site5 Disables SMTP?
June 15, 2007, 01:27:12 am
I told SITE5 that and they said:

Quote
The block on SMTP connections is not set up on all servers. You should be able to configure your script to use sendmail or mail() instead of SMTP socket connections.

Thank you.

Looks like we're getting a new host I guess....
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Site5 Disables SMTP?
June 15, 2007, 03:27:37 am
Do note that if there is a username + password pair that’s supposed to work, you should be able to configure CiviMail to use that pair (and send its mailing as that SMTP user).
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.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Site5 Disables SMTP?
June 15, 2007, 04:12:29 am
I have the user set via the web interface and the password set in the civicrm settings file.

Is there more to it than that? This was working until a few days ago.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Site5 Disables SMTP?
June 15, 2007, 04:26:21 am
This should work. If this doesn’t work, it means that either this user+pass pair does not work from that server (and works only from outside), the server to connect to is a different one or something else is broken.

You can try getting a more verbose error by changing
Code: [Select]
var $_debug = false;
to
Code: [Select]
var $_debug = true;
around line 72 of the packages/Net/SMTP.php file.
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.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Site5 Disables SMTP?
June 17, 2007, 08:29:21 am
Seems to be the same result:

Code: [Select]
Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => 111
    [message] => Connection refused
    [mode] => 16
    [debug_info] =>
    [type] => pear_error
    [user_info] =>
    [to_string] => [pear_error: message="Connection refused" code=111 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
)
[/code]

:(
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

msn

  • I post frequently
  • ***
  • Posts: 152
  • Karma: 6
  • Please talk to the other site
Re: Site5 Disables SMTP?
June 24, 2007, 07:55:00 pm
Hello hershel,

About a week ago I made a setup with CiviCRM on site5 with SMTP. I had the same error. I changed my setup and the error is gone. For your benefit I use:
Settings - SMTP Configuration:
SMTP server: smtp.website.org 
SMTP port 25
Authentication YES
SMTP username: an existing pop or smtp email adress from website.org. See: site5 website account/ My email center/ manage email accounts

In civicrm_settings.php:
define( 'CIVICRM_SMTP_PASSWORD', ' password pop or smtp email adres from website.org ');

That was it for me and I receve email from event registration.... I did not yet made a test with Civimail.
Hope this helps your problem

By the way, the smtp server name was my problem that generated the error.

Martin

110degrees

  • Guest
Re: Site5 Disables SMTP?
June 25, 2007, 10:03:25 am
hersel, I believe we have solved the problem on our site. I tried the settings that msn was suggesting along with many other ways. Here is what I have done with the site5 settings (Also, a big thanks to Piotr Szotkowski for pointing to where that debug setting was!)

Under the Global Settings/ Outbound Email (SMTP) use the following
SMTP Server: localhost
SMTP Port: 25
Authentication? Yes
SMTP Username: (the same one you were using before the errors appeared)

Be sure to make sure the password is still correct in the civicrm.settings.php file.

But most importantly, after you change those settings, be sure to turn the debugging off in the  packages/Net/SMTP.php file (Thanks again Piotr Szotkowski) or you will receive this extremely cryptic message about debugging but yet it sends the email anyway.
« Last Edit: June 25, 2007, 10:05:42 am by 110degrees »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Re: Site5 Disables SMTP?

This forum was archived on 2017-11-26.