既然已經用google app來管理自己網域的mail服務
當然希望wp也可以透過gmail的smtp來發信囉
查了一下相關的資料
本來是打算用Swift-SMTP Mailer來完成
安裝完後直接從0.94版升到1.0版
很愉快的用它的管理介面設好後卻一直出現
Error Number 24 and Error String Unable to find the socket transport “tls” – did you forget to enable it when you configured PHP?’]….
想說來看看作者的blog有沒有解決之道
結果只看到她另一個要付費的外掛的資訊…..@@
再回頭google一下找到了Cimy Swift SMTP
結果出現的錯誤訊息也差不多
才知道誤會了Swift-SMTP Mailer
不過Cimy Swift SMTP多了兩個欄位可以設寄件名稱跟email來源所以就沒再想換回來了
但問題終就是要解決麻
後來才發現是自己根本沒裝OpenSSL
於是參考這一篇把OpenSSL裝起來(又沒有中文@@)
接著把ssleay32.dll tmpssl32.dll libssl32.dll tmpeay32.dll從\OpenSLL\bin\ copy到 \php\ext\下
(有可能不需要全部啦^^”)
然後到php.ini把extension=php_openssl.dll打開後
在phpinfo()的Registered Stream Socket Transports看到ssl, sslv3, sslv2, tls就ok了
Dear Justfly
I think here u have a solution to my problem, i hhad installed WP in a domain that i bought from chines ecompany there dont offer cpannel, their server works with windows/iis so can not use mail ()function i installed the plugin Cimy Swift SMTP but i got the same problem so i dont know where to instal openssl, or the company must install it their please help
try copy ssleay32.dll tmpssl32.dll libssl32.dll tmpeay32.dll from “\OpenSLL\bin\” to “\php\ext\” and set php.ini : extension=php_openssl.dll
u can check phpinfo() that Registered Stream Socket Transports if u see ssl, sslv3, sslv2, tls,thats mean OK^^
Thank u very very much for your help but i can not find the \php\ext in my roots and i dont have also pho.ini in my root. so please where can i find them ?
i dont know where u locate ur php files >< but if u really can access php u must have php.ini in somewhere~ maybe u can check ur apache config file.
感謝你!終於千辛萬苦的解決這個發郵件問題~
免客氣!