if i would like to override the smtp setting in php.ini , what should i do

of course , i do not have authority to edit the php.ini , thanks

    rather than overridin the settings in php.ini, u can use the class you can download here: http://www.phpguru.org/smtp.html - it uses the socket functions of php to send email direct through an smtp server - A commented example script is provided.
    hth

      it's great

      i heard ppl said use socket method to send mail through appointed SMTP server is better than mail() , is it right ?

        the class i recommended is able to perform smtp authentication, a function php does not support, i think - maybe it's a little faster, I do not really know.

          Write a Reply...