fastest way to send mails using phpmailer smtp?

前端 未结 3 1893
花落未央
花落未央 2021-02-11 09:26

i am using following phpmailer function to send 1000+ mails



        
3条回答
  •  名媛妹妹
    2021-02-11 10:00

    Drop the function into c++ via cgi. A c++ mailer would be far more robust than hitting the entire http framework first. http://www.cplusplus.com/forum/windows/86562/ But PhP already uses hash table for it's associative array, so you won't pick up anymore speed with a hash table. So you really are sort of maxed out in your web framework. Drop it to a system level function and c is your fastest/leanest choice. Unless you are really talented with assembly language.

提交回复
热议问题