You are here: Re: php mail() and ssl? « PHP Language « IT news, forums, messages
Re: php mail() and ssl?

Posted by Colin McKinnon on 11/14/13 11:22

bastardx wrote:

> Hi List
>
> I have form on my website but I need to send result of this form to
> address outside my server.
> I need to use X.509 v.3 certificate to secure this. Can you point me to
> some doc how to do that?
> I use php 4.X, apache,linux, sendmail.
>
> p.s or should I use smtp() instead of mail()


I guess you mean that the MTA server connection requires SSL (x.509 certs
can also be used to *sign* emails).

It's rather tricky to do directly from PHP. An easier option might be to use
stunnel to proxy the connection. You'll need a lot more information about
the other end, particlaurly:

1) do the use a negotiated TLS connection or is it encapsulated SMTP
(SMTPS)?
2) What level of authentication do they require - IIRC the spec does not
require any level of authentication (i.e. you can usea self-signed cert)
but some vendors products do require to establish the trust.

HTH

C.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация