Master:
# 1    php mail() function does not work. pls help!                  
webfun
Online no
State
Grouping Member
Class class4
Score 156
Wealth 123
Posts 102
Login 03:47:39
php mail() function does not work. pls help!
Hits: 720, Date: 2008-10-25 21:44:00
[Agree] ( 27 ) [Against] ( 24 )

# 2    did you install the MTA?                  
exp
Online no
State
Grouping Member
Class class4
Score 348
Wealth 219
Posts 269
Login 11:49:09
On Linux, you must have a local MTA installed to use mail(). On Windows, you must setup an
external SMTP server in your php.ini.
Hits: 716, Date: 2008-10-25 21:48:29
[Agree] ( 29 ) [Against] ( 25 )

# 3    you can check whether the MTA intalled or not                  
exp
Online no
State
Grouping Member
Class class4
Score 348
Wealth 219
Posts 269
Login 11:49:09
For Debian Linux, check the path usr/sbin/sendmail
MTA has not been intalled if there is no sendmail in the folder.
Hits: 715, Date: 2008-10-25 21:48:51
[Agree] ( 27 ) [Against] ( 24 )

# 4    how to intall MTA?                  
webfun
Online no
State
Grouping Member
Class class4
Score 156
Wealth 123
Posts 102
Login 03:47:39
how to intall MTA?
Hits: 712, Date: 2008-10-25 21:49:48
[Agree] ( 25 ) [Against] ( 26 )

# 5    For Debian                  
exp
Online no
State
Grouping Member
Class class4
Score 348
Wealth 219
Posts 269
Login 11:49:09
apt-get intall sendmail
You wil get MTA in the local machine.
Cheers
Hits: 709, Date: 2008-10-25 21:50:42
[Agree] ( 40 ) [Against] ( 27 )

# 6    thanks, chip, it does solve my problem                  
webfun
Online no
State
Grouping Member
Class class4
Score 156
Wealth 123
Posts 102
Login 03:47:39
in the future, i will need to set a remote smtp server.
I think i will change the smtp path in Debian server: etc/php5/appache2/php.ini

I still need your help when i set the path and smtp server.
Hits: 706, Date: 2008-10-25 21:51:50
[Agree] ( 26 ) [Against] ( 25 )

# 7    remember to start sendmail                  
exp
Online no
State
Grouping Member
Class class4
Score 348
Wealth 219
Posts 269
Login 11:49:09
a friend did not start the sendmail programe, he thought it did not work.
To start it, use the following command:

service sendmail start
Hits: 677, Date: 2009-05-28 04:30:14
[Agree] ( 17 ) [Against] ( 17 )

1 - 7 [ 7]

Reply: php mail() function does not work. pls help!

*First line:


More content:


Tags:



Hint: You cannot post here before loginLogin | Register

nothing