Solved

sending email with ssl

Posted on 2004-09-03
3
208 Views
Last Modified: 2008-02-26
I am having a problem sending emails on an SSL server. It times out.  I have tried the identical code on my local machine and there is no problem. Any ideas?
0
Comment
Question by:skiboy825
3 Comments
 
LVL 25

Accepted Solution

by:
Squinky earned 50 total points
ID: 11979771
You don't say how exactly you're using SSL or how you're sending mail. SSL on your web server makes no difference to a running PHP script because it's on the "inside" of the encrypted session. SMTP over SSL/TLS is a bit harder, and it's not yet supported by PHPMailer (which I'd hope you're using instead of mail()).

Your timeout is more likely to be a problem with your mail server setup than SSL. If you're just sending regular mail, try using PHPMailer. mail() is a waste of time.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now