| | |
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 |
.htaccess ajax apache api array back basic beginner binary broken cakephp checkbox class cms code computing cron curl customizableitems database date delete display dynamic echo email error file files filter folder form forms function functions gc_maxlifetime google host href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory memory menu mlm mod_rewrite multiple mysql navigation oop parsing paypal pdf php problem query radio random recursion regex remote script search server sessions sms snippet soap source space sql syntax system table thesishelp trouble tutorial update upload url validation validator variable video web xml youtube






