Jump to content

Losty

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Losty's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. If I could access the PHP.ini file for my site, what would I need to edit to avoid the warning I got when attempting to fill the email form out? Would I edit one of the following from the file? (BELOW) sendmail_from name@domain.com webmaster sendmail_path no value no value Please see my previous post for more info...
  2. I'm a bit of a newbie at PHP coding. This is the code I'm using: Have I made a mistake somewhere?
  3. 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.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.