| | |
Sending encrypted emails
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
You could probably get the native PHP mail() function to send via TLS. On windows mail() will send through SMTP based on the PHP.ini config. You could probably get this configuration to use TLS. On Linux mail() sends to the sendmail binary. So you'd need to configure sendmail to use TLS.
But is it probably easier off to just talk to either IMAP or SMTP directly. There are many SMTP mailers available in PHP:
http://pear.php.net/package/Mail
http://www.swiftmailer.org/
These should support TLS. I believe you'd need OpenSSL compiled into your PHP executable, or loaded as an extension.
You could also use IMAP over TLS if the IMAP server supports TLS.
But is it probably easier off to just talk to either IMAP or SMTP directly. There are many SMTP mailers available in PHP:
http://pear.php.net/package/Mail
http://www.swiftmailer.org/
These should support TLS. I believe you'd need OpenSSL compiled into your PHP executable, or loaded as an extension.
You could also use IMAP over TLS if the IMAP server supports TLS.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
![]() |
Similar Threads
- smtp mail in php (PHP)
- sending encrypted emails (ColdFusion)
- Sending encrypted email (C#)
Other Threads in the PHP Forum
- Previous Thread: Shopping basket contents to paypal
- Next Thread: sorting the fields in data grid and give check box
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code codingproblem cron curl database date directory display download dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search select send server sessions sms snippet soap source space speed sql static structure syntax system table tutorial up-to-date update upload url validation validator variable video web wordpress xml youtube






