SMTP works fine, but i want to enable mail() function for an special user

diandade

Verified User
Joined
Feb 16, 2009
Messages
15
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]
 
Last edited:
Didn't you already ask this question yesterday? Posting it again in a different section will not get you an answer any faster.
 
Hello
Excuse me
I think maybe some body did not see the topic
So I raised it again because I was in a hurry
so there is any way ?
 
It's likely that if anyone knows the answer they'll reply. I've deleted the other thread as a duplicate and moved this one as it's a php issue.

Jeff
 
Back
Top