PHP Pear Mail Packege - support security through SSL ?
I have the Pear Mail package installed with php on my system, i need to use pear because the SMTP being used by my webmail account needs authentication (standard php mail() does not support this). Does anyone know that if SSL security is required by the mail server, is there anyway Pear Mail can support this. I've googled and found some clues that lead me to belive that it is possible, so i'm really just looking for any recomendations by people who have successfully done this. maybe some sample code to study.
thanks |
Try this code with the pear mail package. It worked for me. I found it through google a while ago and kept a copy in a notepad for reference. It worked for me with my att email and with gmail which both use ssl.
try this: Code:
<?php |
Thanks for posting this!
It seemed most other methods were so cryptic - this worked like a charm!:D
|
Hi,
I have the Pear Mail package installed with php on my system, i want to send an e-mail using SSL. This is my code in php file: PHP Code:
PHP Code:
But i don't receive the expected email... This is phpinfo: http://imageshack.us/photo/my-images...099862605.png/ It seems all ok with openssl packages. Thank you in advance for the support. Giuseppe |
All times are GMT -5. The time now is 03:59 AM. |