hi, sorry about my english..., i have suPHP installed on server and there is php.ini for all of the users, no body can send mail with mail() function without SMTP getway, i want to open this way ( send mail with mail() ) for an special user, ( he can send mail with SMTP without any problem )
notice :i alwayes used " http://www.directadmin.com/forum/sho...ighlight=suphp " this article for setup suphp ( for example first line of all php.ini is "open_basedir = /home/myuser/:/tmp/" ),
i changed his php.ini section mail function as below - please help me :
....
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = [email protected]
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i -f %USERNAME%@%DOMAIN%
;sendmail_from = [email protected]
notice :i alwayes used " http://www.directadmin.com/forum/sho...ighlight=suphp " this article for setup suphp ( for example first line of all php.ini is "open_basedir = /home/myuser/:/tmp/" ),
i changed his php.ini section mail function as below - please help me :
....
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = [email protected]
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i -f %USERNAME%@%DOMAIN%
;sendmail_from = [email protected]
Last edited: