Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Server Side
/
PHP Server Side Scripting
11:43 am May 21, 2026
This page requires javascript.
Forum Moderators:
coopster
Message Too Old, No Replies
Configure PHP for send mail
comdini
Msg#:4266887
4:50 pm on Feb 14, 2011
(gmt 0)
My Website is created using with PHP. I've a requirement for generate mail through web. because which file should I edit with SMTP Details.
Regards,
COMDINI
rocknbil
Msg#:4266900
5:02 pm on Feb 14, 2011
(gmt 0)
Why can't you use
the mail()function
[us3.php.net]?
comdini
Msg#:4275402
5:57 pm on Mar 2, 2011
(gmt 0)
I tried . but it comes a Error that "
message sending faild..SMTP Error: Could not authenticate
"
but in this Web Server SMTP Server is working perfectly. I tested on IIS & Telnet. On PHP have configure only one Website.
Our Emails running on MS Exchange 2007 Environment. I've provided the SMTP Server & User Authinications also. But it doesn't work.
Please tell me that which files should I edit for Mail configuration.
Regards,
COMDINI
timster
Msg#:4276404
3:56 am on Mar 4, 2011
(gmt 0)
How did you provide SMTP user authentication? If you provide a code sample we might spot the problem.
Please tell me that which files should I edit for Mail configuration.
You can check your php.ini file for sendmail configuration. Add appropriate values for auth_username and auth_password.
Probably easier than that is just to use "Mail - PEAR" instead of PHP's builtin mail function. That makes it easier to provide SMTP authentication.
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Apr
,
Mar
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
May 2026 Google Search Observations
AdSense Earnings and Observations - May 2026
AI visibility audit
Adsense / Personal Manager / Support
Hacker spoofing as GoogleBot
Page indexed but live url test gets 500 error
Link collaboration strategies
in case you missed it .
Microsoft, AS8075. Google, AS396982.
Bad actor claiming to be OpenAi
Home
Forums Index
Server Side
/
PHP Server Side Scripting
11:43 am May 21, 2026