Click to See Complete Forum and Search --> : mail() no work on NT SMTP - I'm willing to pay $ for help
klord
09-27-2002, 04:07 PM
I have NT 4.0 SP6A running IIS 4.0 which has SMTP.
I've tested SMTP and it is sending mail, so I know that is working
PHP.ini has the correct settings SMTP = localhost
I'm willing to pay via PayPal or Keen to get this resolved ASAP.
Thanks!
What is your code? Maybe I can help, feel free to email me or send it here
take care
Aiwrtcode
09-28-2002, 11:16 PM
I run my own SMTP server on my computer. When I set it up it asked for a name. If I tell Outlook the SMTP server is localhost, it errors, if I tell it that the server is brian (what I named it) it works fine. Not sure if this helps or not :)
klord
09-30-2002, 07:37 AM
my php code is ...
mail("klord@fnbbh.com","$super Evaluation of $name",$o);
I've tried the following:
' instead of "
"$0"
dotwebbie
09-30-2002, 11:47 AM
What error do you get? What version of PHP do you have?
klord
09-30-2002, 12:06 PM
Finally got it working... by moving the code to it's own little test app and confirmed it worked there.
Tt wasn't the mail() code, but other code that prevented that line from even running!
I do have an internal SMTP issue on the server, but for now am using an external SMTP at the ISP's so it works.
Thanks!
I'm running PHP 4.23
noserver
10-01-2002, 04:09 AM
anyway... i think u can use a script without mail() to do.
this is one good way to resolve something trouble
by this script it can do the mail function on the others SMTP :cool:
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.