Alright so here's the dealio.
I created a basic feedback form with PHP. Did it, but received the following error:
Warning: mail() [function.mail]: SMTP server response: 553 sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1) in [file] on line 116
I looked into this and it seems that I need to config “SMTP” in the php.ini file.
The Problem: After calling the php info, I'm pretty sure it's my webhost that has access to this file. I contacted them, and they replied by telling me to create a custom one, as they are a "Microsoft Windows 2003 Server that specialize in ASP, ASP.NET, and SQL Server. We have limited experience with PHP."
So after swearing and cursing them out, I did some more snooping around to figure out how to create my own, and edit the SMTP settings.
Could I create my own php.ini file from this template: http://cvs.php.net/viewvc.cgi/php-src/php.ini-dist?view=co
And then add:
[mail function]
; For Win32 only.
SMTP = mail.host.com ; for Win32 only
smtp_port = 25
sendmail_from= name@host.com ; for Win32 only
; For Win32 only.
;sendmail_from = name@host.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
And if I can use that:
1. Where would I upload this file?
2. Would I run into issues with the php.ini file the site is already pointing to?
ANY help would be greatly appreciated.