Ticket #671 (closed Bug: fixed)

Opened 2 months ago

Last modified 2 months ago

email helper default port should be NULL, not 25

Reported by: Lick Assigned to: Shadowhand
Priority: minor Milestone: 2.2
Component: Helpers Version: SVN HEAD
Keywords: email port default Cc:
SVN Revision (if applicable):

Description (Last modified by Shadowhand)

If no port was set in config.php, the email helper should be defaulting to NULL (not 25). This way, SwiftMailer will figure out the correct port based on encryption.

system/helpers/email.php - Line 41

// Bad:
$port = empty($config['options']['port']) ? 25 : (int) $config['options']['port'];
// Good:
$port = empty($config['options']['port']) ? NULL : (int) $config['options']['port'];

Change History

07/03/08 13:05:05 changed by Shadowhand

  • status changed from new to assigned.
  • owner changed from - No owner - to Shadowhand.

07/03/08 13:06:00 changed by Shadowhand

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r2958.

07/03/08 13:06:31 changed by Shadowhand

  • description changed.