php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #54231 Include SSL/TLS support to mail function
Submitted: 2011-03-11 22:01 UTC Modified: 2021-09-19 17:40 UTC
Votes:3
Avg. Score:3.7 ± 0.9
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jfha73 at gmail dot com Assigned: cmb (profile)
Status: Closed Package: *Mail Related
PHP Version: 5.3.5 OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jfha73 at gmail dot com
New email:
PHP Version: OS:

 

 [2011-03-11 22:01 UTC] jfha73 at gmail dot com
Description:
------------
This will be a great feature,

Allow the mail function to be able to connect to a SMTP server that has SSL or TLS enabled for added security so developers don't have to use openSSL or something like that to open these ports to send emails through a secure layer.

Expected result:
----------------
Be able to connect to a SMTP using a secure connection

Actual result:
--------------
None, I can only connect to SMTP (SSL/TLS) using openSSL

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-09-09 14:39 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-09-09 14:39 UTC] cmb@php.net
> This will be a great feature,

And apparently everybody is hyped about it. ;)

Anyhow, I'm not sure what you are actually suggesting.  To my
knowledge, SMTP emailing is only supported on Windows, while other
systems have to rely on an MTA like sendmail.  So, are you
suggesting that mail() on Windows should support TLS, or do you
want mail() to support SMTP with TLS on other systems as well.
 [2021-09-09 14:40 UTC] cmb@php.net
Also consider to use a userland mailer like PHPMailer.
 [2021-09-19 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2021-09-19 17:40 UTC] jfha73 at gmail dot com
-Status: No Feedback +Status: Closed
 [2021-09-19 17:40 UTC] jfha73 at gmail dot com
Using PHPMailer works like a charm, I'm closing it because this was for PHP 5, we are now in PHP 7 anyway.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 21:01:29 2024 UTC