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 »
  • Using CiviSMTP (Moderator: shane) »
  • How can I set Outbound Email (SMTP) with "SSL"?
Pages: [1]

Author Topic: How can I set Outbound Email (SMTP) with "SSL"?  (Read 3597 times)

Gorrister

  • Guest
How can I set Outbound Email (SMTP) with "SSL"?
February 04, 2010, 03:10:21 am
My SMTP server's outgoing port is specially for SSL.
How can I set it?

I have tried a lot of SMTP servers, all of them could not be connected.

The errors are followed:


Quote
Sending test email. FROM: info@freshnz.com TO: joomcivi@targetintegration.com.
Oops. Your SMTP settings are incorrect. No test mail has been sent.

An error occurred when CiviCRM attempted to send an email (via SMTP). If you received this error after submitting on online contribution or event registration - the transaction was completed, but we were unable to send the email receipt.

The mail library returned the following error message:
Failed to connect to smtpout.secureserver.net:465 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]

This is probably related to a problem in your Outbound Email Settings (Administer CiviCRM » Global Settings » Outbound Email), OR the FROM email address specifically configured for your contribution page or event. Possible causes are:

    * Your SMTP Username or Password are incorrect.
    * Your SMTP Server (machine) name is incorrect.
    * You need to use a Port other than the default port 25 in your environment.
    * Your SMTP server is just not responding right now (it is down for some reason).
    * The FROM Email Address configured for this feature may not be a valid sender based on your email service provider rules.

Check this page for more information.


Please help me~ THX a lot~

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: How can I set Outbound Email (SMTP) with "SSL"?
February 04, 2010, 03:24:33 am
Quote from: Gorrister on February 04, 2010, 03:10:21 am
My SMTP server's outgoing port is specially for SSL.
How can I set it?

I think the below error means that it’s not a problem of encryption, but of connection permissions:

Quote
Quote
The mail library returned the following error message:
Failed to connect to smtpout.secureserver.net:465 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]

Can you try running telnet smtpout.secureserver.net 465 from the host that runs your CiviCRM installation? The above message suggests you can’t even connect to port 465 of the smtpout.secureserver.net server to begin with.
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.

Gorrister

  • Guest
Re: How can I set Outbound Email (SMTP) with "SSL"?
February 04, 2010, 08:41:17 pm
Thanks a lot for your answer~

But civiCRM still can't work.

I can use another software to send and receive mails, such as wndows live mail, the same setting as I've setted i civiCRM.

Quote
Failed to connect to smtpout.secureserver.net:465 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]

The error can't be solved.

Does any other reason can generate this error?


Thanks~

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: How can I set Outbound Email (SMTP) with "SSL"?
February 15, 2010, 04:41:53 am
Quote from: Gorrister on February 04, 2010, 08:41:17 pm
I can use another software to send and receive mails, such as wndows live mail, the same setting as I've setted i civiCRM.

But does this software connect from outside of the smtpout.secureserver.net machine? Is this the same machine that CiviCRM is installed on?
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.

aaca

  • I’m new here
  • *
  • Posts: 23
  • Karma: 2
Re: How can I set Outbound Email (SMTP) with "SSL"?
March 25, 2010, 02:36:41 pm
I am having the same issue.  The SMTP is on the same server as the CiviCRM installation.

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: How can I set Outbound Email (SMTP) with "SSL"?
March 26, 2010, 01:14:49 am
I have two suggestions, one serious and one semi-serious.

1. The configuration you could try is ...
  • Run an SMTP server on localhost port 25 (if you're already doing that, set up the SMTP server to listen to another port used only by CiviCRM)
  • Set up your firewall to only allow access to port 25 from localhost
  • Configure your SMTP server to deliver emails to the secure SMTP server via SSL or TLS
  • You'll need to set up a mechanism to detect when your server fails to deliver (if you care)

That way the problem has been moved away from CiviCRM, without compromising security.

2. Use a non-secure connection and change the credentials often (a pain but it works)

Ken
« Last Edit: March 26, 2010, 01:44:51 am by ken »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail »
  • Using CiviSMTP (Moderator: shane) »
  • How can I set Outbound Email (SMTP) with "SSL"?

This forum was archived on 2017-11-26.