php-windows Digest 4 Dec 2003 23:09:37 -0000 Issue 2029
Topics (messages 22310 through 22324):
Re: Problem printing on server side
22310 by: Darvin Andrioli
mail($To problem
22311 by: Alan McDonald
22315 by: Seung Hwan Kang
22316 by: Seung Hwan Kang
22317 by: Alan McDonald
22318 by: Seung Hwan Kang
22319 by: Mike Quinn
22320 by: Disko_kex
22323 by: Alan McDonald
Re: /php-4.3.4-Win32/php.exe/index.php not found
22312 by: Luis Moreira
Re: Award Notice
22313 by: toby z
22314 by: Alan McDonald
Problem with mail()
22321 by: Gerardo Rojas
22322 by: John
22324 by: Alan McDonald
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
> From: Ricardo J. Oliveira [mailto:[EMAIL PROTECTED]
>
> Hi,
> When I try to list my printers with the printer_list function with these
> options PRINTER_ENUM_NETWORK | PRINTER_ENUM_REMOTE the array returned are
> empty.
Hi
First the manual says that PRINTER_ENUM_NETWORK and PRINTER_ENUM_REMOTE
work only on WinNt and Win2000.
Then some question: have you defined the printer on the box where Apache
run?
May the user used by the Apache service to run access to that printer?
About PHP, when I wrote my module to list the printers, I crashed PHP with
some memory problem
running
printer_list(PRINTER_ENUM_LOCAL|PRINTER_ENUM_CONNECTIONS);
so I changed the line into
$lista1=printer_list(PRINTER_ENUM_LOCAL);
$lista2=printer_list(PRINTER_ENUM_CONNECTIONS);
$lista=array_merge($lista1,$lista2);
and it worked (I hadn't so much time
to understand what went wrong so I can't tell you if it was a PHP problem or
mine), and now it list all local printers
(lpt1, tcp/ip ports) and all networks printers (shared by other box).
My configuration is:
production environment, NT 4, Apache 1.3.27, Php 4.3.4 as CGI
development environment, Win 2000 Pro, Apache 2.0.48, Php 4.3.4 as CGI
Note that the manual says that PRINTER_ENUM_NETWORK | PRINTER_ENUM_REMOTE
work only on WinNt and Win2000
Hope this help you
Darvin
--- End Message ---
--- Begin Message ---
Can someone tell me why I might be getting this problem?
I construct an HTML email and send it,... it's fine,... it goes
But the last > character after the /html tag gets truncated.
I always get
</html
stuck on the end of my message unless I add another one.
If my last construct line is
$content .= "</body></html>>";
I do not see the </html on the end of the message because it has a complete
tag in the message.
thanks
Alan
--- End Message ---
--- Begin Message ---
I guess it's related to slashes... (addslashes)
Here is eg.
// yourform.html
<!-- your HTML form -->
to
subject
content
from
// mailto.php
<?
$to = addslashes($_POST["to"]);
$subject = addslashes($_POST["from"]);
$content = addslashes($_POST["content"]);
mail($to, $subject, $content, $from);
?>
from Wollongong, NSW :)
Alan McDonald wrote:
Can someone tell me why I might be getting this problem?
I construct an HTML email and send it,... it's fine,... it goes
But the last > character after the /html tag gets truncated.
I always get
</html
stuck on the end of my message unless I add another one.
If my last construct line is
$content .= "</body></html>>";
I do not see the </html on the end of the message because it has a complete
tag in the message.
thanks
Alan
--- End Message ---
--- Begin Message ---
i acidently sent it....
Seung Hwan Kang wrote:
I guess it's related to slashes... (addslashes)
Here is eg.
// yourform.html
<!-- your HTML form -->
to
subject
content
from
// mailto.php
<?
$to = addslashes($_POST["to"]);
$subject = addslashes($_POST["subject"]);
$content = addslashes($_POST["content"]);
$from = addslaehses($_POST["from"]);
mail($to, $subject, $content, $from);
?>
well, now it's correct!
from Wollongong, NSW :)
Alan McDonald wrote:
Can someone tell me why I might be getting this problem?
I construct an HTML email and send it,... it's fine,... it goes
But the last > character after the /html tag gets truncated.
I always get
</html
stuck on the end of my message unless I add another one.
If my last construct line is
$content .= "</body></html>>";
I do not see the </html on the end of the message because it has a
complete
tag in the message.
thanks
Alan
--- End Message ---
--- Begin Message ---
thanks - but sorry no prize there - it makes no difference
Alan
"Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> i acidently sent it....
>
>
> Seung Hwan Kang wrote:
>
> > I guess it's related to slashes... (addslashes)
> >
> > Here is eg.
> >
>
> // yourform.html
>
> <!-- your HTML form -->
> to
> subject
> content
> from
>
> // mailto.php
>
> <?
> $to = addslashes($_POST["to"]);
> $subject = addslashes($_POST["subject"]);
> $content = addslashes($_POST["content"]);
> $from = addslaehses($_POST["from"]);
>
> mail($to, $subject, $content, $from);
>
> ?>
>
> well, now it's correct!
>
> >
> > from Wollongong, NSW :)
> >
> > Alan McDonald wrote:
> >
> >> Can someone tell me why I might be getting this problem?
> >> I construct an HTML email and send it,... it's fine,... it goes
> >> But the last > character after the /html tag gets truncated.
> >> I always get
> >> </html
> >> stuck on the end of my message unless I add another one.
> >> If my last construct line is
> >> $content .= "</body></html>>";
> >> I do not see the </html on the end of the message because it has a
> >> complete
> >> tag in the message.
> >>
> >> thanks
> >> Alan
--- End Message ---
--- Begin Message ---
ok, u do like to put some html codes in the contents... :)
this one should be ok~~~
<?
$HTML_H = "<html><head><title>welcomeM</title><body>";
$HTML_B = "Geee~";
$HTML_T = "</body><html>";
$content = $HTML_H . $HTML_B . $_POST["content"] . $HTML_T;
mail($_POST["to"], $_POST["subject"], $content, $_POST["from"]);
?>
Alan McDonald wrote:
thanks - but sorry no prize there - it makes no difference
Alan
"Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
i acidently sent it....
Seung Hwan Kang wrote:
I guess it's related to slashes... (addslashes)
Here is eg.
// yourform.html
<!-- your HTML form -->
to
subject
content
from
// mailto.php
<?
$to = addslashes($_POST["to"]);
$subject = addslashes($_POST["subject"]);
$content = addslashes($_POST["content"]);
$from = addslaehses($_POST["from"]);
mail($to, $subject, $content, $from);
?>
well, now it's correct!
from Wollongong, NSW :)
Alan McDonald wrote:
Can someone tell me why I might be getting this problem?
I construct an HTML email and send it,... it's fine,... it goes
But the last > character after the /html tag gets truncated.
I always get
</html
stuck on the end of my message unless I add another one.
If my last construct line is
$content .= "</body></html>>";
I do not see the </html on the end of the message because it has a
complete
tag in the message.
thanks
Alan
--- End Message ---
--- Begin Message ---
Hi Alan,
You have to set the headers to send HTML emails (that could be it!)
$header = "MIME-Version: 1.0\r\n Content-type: text/html;
charset=iso-8859-1\r\n";
$address = "[EMAIL PROTECTED]";
$subject = "HTML Email";
$content = "<html stuff>stuff</html stuff>";
mail($address, $subject, $content, $header);
"Alan McDonald" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Can someone tell me why I might be getting this problem?
> I construct an HTML email and send it,... it's fine,... it goes
> But the last > character after the /html tag gets truncated.
> I always get
> </html
> stuck on the end of my message unless I add another one.
> If my last construct line is
> $content .= "</body></html>>";
> I do not see the </html on the end of the message because it has a
complete
> tag in the message.
>
> thanks
> Alan
--- End Message ---
--- Begin Message ---
Hi
It's a documented bug, and its fixed in the latest release of php
(4.3.4). I had the same problem and it works fine now
Have a nice day
jocke
> -----Original Message-----
> From: Seung Hwan Kang [mailto:[EMAIL PROTECTED]
> Sent: den 4 december 2003 12:27
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: mail($To problem
>
> ok, u do like to put some html codes in the contents... :)
>
> this one should be ok~~~
>
> <?
>
> $HTML_H = "<html><head><title>welcomeM</title><body>";
> $HTML_B = "Geee~";
> $HTML_T = "</body><html>";
>
> $content = $HTML_H . $HTML_B . $_POST["content"] . $HTML_T;
>
> mail($_POST["to"], $_POST["subject"], $content, $_POST["from"]);
>
> ?>
>
> Alan McDonald wrote:
>
> > thanks - but sorry no prize there - it makes no difference
> >
> > Alan
> >
> > "Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >>i acidently sent it....
> >>
> >>
> >>Seung Hwan Kang wrote:
> >>
> >>
> >>>I guess it's related to slashes... (addslashes)
> >>>
> >>>Here is eg.
> >>>
> >>
> >>// yourform.html
> >>
> >><!-- your HTML form -->
> >>to
> >>subject
> >>content
> >>from
> >>
> >>// mailto.php
> >>
> >><?
> >>$to = addslashes($_POST["to"]);
> >>$subject = addslashes($_POST["subject"]);
> >>$content = addslashes($_POST["content"]);
> >>$from = addslaehses($_POST["from"]);
> >>
> >>mail($to, $subject, $content, $from);
> >>
> >>?>
> >>
> >>well, now it's correct!
> >>
> >>
> >>>from Wollongong, NSW :)
> >>>
> >>>Alan McDonald wrote:
> >>>
> >>>
> >>>>Can someone tell me why I might be getting this problem?
> >>>>I construct an HTML email and send it,... it's fine,... it goes
> >>>>But the last > character after the /html tag gets truncated.
> >>>>I always get
> >>>></html
> >>>>stuck on the end of my message unless I add another one.
> >>>>If my last construct line is
> >>>> $content .= "</body></html>>";
> >>>>I do not see the </html on the end of the message because it has a
> >>>>complete
> >>>>tag in the message.
> >>>>
> >>>>thanks
> >>>>Alan
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
thanks Disko_kex - I'll check that out
Alan
"Disko_kex" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
>
> It's a documented bug, and its fixed in the latest release of php
> (4.3.4). I had the same problem and it works fine now
>
> Have a nice day
> jocke
>
>
> > -----Original Message-----
> > From: Seung Hwan Kang [mailto:[EMAIL PROTECTED]
> > Sent: den 4 december 2003 12:27
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Re: mail($To problem
> >
> > ok, u do like to put some html codes in the contents... :)
> >
> > this one should be ok~~~
> >
> > <?
> >
> > $HTML_H = "<html><head><title>welcomeM</title><body>";
> > $HTML_B = "Geee~";
> > $HTML_T = "</body><html>";
> >
> > $content = $HTML_H . $HTML_B . $_POST["content"] . $HTML_T;
> >
> > mail($_POST["to"], $_POST["subject"], $content, $_POST["from"]);
> >
> > ?>
> >
> > Alan McDonald wrote:
> >
> > > thanks - but sorry no prize there - it makes no difference
> > >
> > > Alan
> > >
> > > "Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
> > > news:[EMAIL PROTECTED]
> > >
> > >>i acidently sent it....
> > >>
> > >>
> > >>Seung Hwan Kang wrote:
> > >>
> > >>
> > >>>I guess it's related to slashes... (addslashes)
> > >>>
> > >>>Here is eg.
> > >>>
> > >>
> > >>// yourform.html
> > >>
> > >><!-- your HTML form -->
> > >>to
> > >>subject
> > >>content
> > >>from
> > >>
> > >>// mailto.php
> > >>
> > >><?
> > >>$to = addslashes($_POST["to"]);
> > >>$subject = addslashes($_POST["subject"]);
> > >>$content = addslashes($_POST["content"]);
> > >>$from = addslaehses($_POST["from"]);
> > >>
> > >>mail($to, $subject, $content, $from);
> > >>
> > >>?>
> > >>
> > >>well, now it's correct!
> > >>
> > >>
> > >>>from Wollongong, NSW :)
> > >>>
> > >>>Alan McDonald wrote:
> > >>>
> > >>>
> > >>>>Can someone tell me why I might be getting this problem?
> > >>>>I construct an HTML email and send it,... it's fine,... it goes
> > >>>>But the last > character after the /html tag gets truncated.
> > >>>>I always get
> > >>>></html
> > >>>>stuck on the end of my message unless I add another one.
> > >>>>If my last construct line is
> > >>>> $content .= "</body></html>>";
> > >>>>I do not see the </html on the end of the message because it has a
> > >>>>complete
> > >>>>tag in the message.
> > >>>>
> > >>>>thanks
> > >>>>Alan
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Apparently your browser is complaining about INFO.PHP, not PHP.EXE.
Do you call INFO.PHP inside INDEX.PHP ?
If you do, are you sure it exists and is on the right place ?
Luis
----- Original Message -----
From: "Miroslav Majdan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 7:12 PM
Subject: [PHP-WIN] /php-4.3.4-Win32/php.exe/index.php not found
Hi.
I have configured php and apache 1.3.28 (apache 2.0.48) under Win98 like
this
php.ini:
extension-dir:/php-4.3.4-Win32/
httpd.conf:
ScriptAlias = "c:\htdocs"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php-4.3.4-Win32/php.exe"
In c:\htdocs I created simple index.php
I asked my browser (IE and Opera) for http://localhost/index.php and I
became a message:
"The requested URL /php-4.3.4-Win32/php.exe/info.php was not found on this
server."
When give localhost I became index.html which is correct.(apache works
with *.html files correctly)
I tried to change Action "../php.exe" to "../php.exe " (added space) so
that the request would look like php should open /index.php but it didn't
work.
Should I reconfigure php so that it would understand the request or what?
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
what on earth is all this ????
or have i missed somethin here ????
:S :| :[
--- Greg Ossai <[EMAIL PROTECTED]> wrote: >
>
> STRITLY CONFIDENTIAL
> FROM:DR .GREG ossAI,
>
> DEAR SIR,
>
> I AM DR.GREG OSSAI Ossai AN ACCOUNTANT (FOREIGN PAYMENT DEPT) WITH
> THE FEDERAL MINISTRY OF TRANSPORT LAGOS- NIGERIA.
>
> WITH THE ASSISTANCE OF SOME SENIOR OFFICALS OF THE CENTRAL BANK OF
> NIGERIA,AND THE MINISTRY OF FINANCE, WE WANT TO TRANSFER THE SOME
> OF
> THIRTY-FIVE MILLION US DOLLARS OUT OF MY COUNTRY, NIGERIA. THE
> THIRTY-FIVE MILLION US DOLLARS IS AN ACCUMULATION OF OVER-INVOICED
> CONTRACTS WHICH HAS ALREADY BEEN EXECUTED AND COMMISSIONED. THIS
> AMOUNT STILL LIES IN THE FEDERAL MINISTRY OF TRANSPORT SUSPENCE
> ACCOUNT WITH
> THE CENTRAL BANK OF NIGERIA(CBN).
>
> AS CIVIL SERVANTS WE CANNOT OPERATE A FOREIGN ACCOUNT BECAUSE THE
> CODE
> OF CONDUCT ACT IN NIGERIA MAKES IT AN OFFENCE FOR ANY PUBLIC
> OFFICER TO
> OPERATE FOREIGN ACCOUNT. IT IS AS A RESULT OF THIS THAT WE SOLICIT
> YOUR
> ASSISTANCE TO MAKE USE OF YOUR PRIVATE/ COMPANY’S ACCOUNT TO
> TRANSFER
> THE SAID SUM.
>
> PLEASE NOTE THAT ALL MODALITIES HAS BEEN WORKED OUT FOR A SMOOTH
> AND
> HITCH-FREE TRANSFER OF THE US$35MILLION INTO YOUR ACCOUNT, WITHIN
> TEN
> WORKING DAYS OF GETTING YOUR POSITIVE RESPONSE AND CONSENT.
>
> YOU WOULD BE ENTITLED TO 20% OF THE $35,000,000:00 FOR PROVIDING US
> AN
> ACCOUNT, 75% WOULD COME TO US IN NIGERIA, AND THE REMAINING 5%
> WOULD BE
> USED TO OFFSET ALL LOCAL/FOREIGN EXPENDITURE ON THE FOLLOWING
> GROUNDS.
>
> (A) THAT WE ARE SATISFIED ON ALL GROUNDS THAT OUR SHARE OF THE
> FUND WOULD BE GIVEN TO US AFTER TRANSFERENCE.
>
> (B) THAT THIS TRANSACTION IS TREATED WITH UTMOST
> CONFIDENCE,SECRECY AND ABSOLUTE SINCERITY, WHICH IT DEMANDS.
>
> IF YOU ARE INTERESTED IN THE PROPOSAL, YOU CAN CONTACT ME THROUGH
> MY EMAIL ADDRESS:[EMAIL PROTECTED] TO ENABLE US DISCUSS
> FURTHER DETAILS ON THE TRANSACTION. YOU ARE ALSO REQUIRED TO
> PROVIDE A
> SECURED TELEPHONE AND FAX FOR THE PURPOSE OF THIS TRANSACTION.
>
> EXPECTING TO HEAR FROM YOU SOONEST
>
> YOURS FAITHFULLY,
>
> DR. Greg Ossai.
>
>
>
>
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
________________________________________________________________________
Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs
http://www.yahoo.co.uk/robbiewilliams
--- End Message ---
--- Begin Message ---
toby - ignore it - it's spam - the famous nigerian letter!
Alan
"Toby z" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> what on earth is all this ????
>
> or have i missed somethin here ????
>
> :S :| :[
>
> --- Greg Ossai <[EMAIL PROTECTED]> wrote: >
> >
> > STRITLY CONFIDENTIAL
> > FROM:DR .GREG ossAI,
> >
> > DEAR SIR,
> >
> > I AM DR.GREG OSSAI Ossai AN ACCOUNTANT (FOREIGN PAYMENT DEPT) WITH
> > THE FEDERAL MINISTRY OF TRANSPORT LAGOS- NIGERIA.
> >
> > WITH THE ASSISTANCE OF SOME SENIOR OFFICALS OF THE CENTRAL BANK OF
> > NIGERIA,AND THE MINISTRY OF FINANCE, WE WANT TO TRANSFER THE SOME
> > OF
> > THIRTY-FIVE MILLION US DOLLARS OUT OF MY COUNTRY, NIGERIA. THE
> > THIRTY-FIVE MILLION US DOLLARS IS AN ACCUMULATION OF OVER-INVOICED
> > CONTRACTS WHICH HAS ALREADY BEEN EXECUTED AND COMMISSIONED. THIS
> > AMOUNT STILL LIES IN THE FEDERAL MINISTRY OF TRANSPORT SUSPENCE
> > ACCOUNT WITH
> > THE CENTRAL BANK OF NIGERIA(CBN).
> >
> > AS CIVIL SERVANTS WE CANNOT OPERATE A FOREIGN ACCOUNT BECAUSE THE
> > CODE
> > OF CONDUCT ACT IN NIGERIA MAKES IT AN OFFENCE FOR ANY PUBLIC
> > OFFICER TO
> > OPERATE FOREIGN ACCOUNT. IT IS AS A RESULT OF THIS THAT WE SOLICIT
> > YOUR
> > ASSISTANCE TO MAKE USE OF YOUR PRIVATE/ COMPANY'S ACCOUNT TO
> > TRANSFER
> > THE SAID SUM.
> >
> > PLEASE NOTE THAT ALL MODALITIES HAS BEEN WORKED OUT FOR A SMOOTH
> > AND
> > HITCH-FREE TRANSFER OF THE US$35MILLION INTO YOUR ACCOUNT, WITHIN
> > TEN
> > WORKING DAYS OF GETTING YOUR POSITIVE RESPONSE AND CONSENT.
> >
> > YOU WOULD BE ENTITLED TO 20% OF THE $35,000,000:00 FOR PROVIDING US
> > AN
> > ACCOUNT, 75% WOULD COME TO US IN NIGERIA, AND THE REMAINING 5%
> > WOULD BE
> > USED TO OFFSET ALL LOCAL/FOREIGN EXPENDITURE ON THE FOLLOWING
> > GROUNDS.
> >
> > (A) THAT WE ARE SATISFIED ON ALL GROUNDS THAT OUR SHARE OF THE
> > FUND WOULD BE GIVEN TO US AFTER TRANSFERENCE.
> >
> > (B) THAT THIS TRANSACTION IS TREATED WITH UTMOST
> > CONFIDENCE,SECRECY AND ABSOLUTE SINCERITY, WHICH IT DEMANDS.
> >
> > IF YOU ARE INTERESTED IN THE PROPOSAL, YOU CAN CONTACT ME THROUGH
> > MY EMAIL ADDRESS:[EMAIL PROTECTED] TO ENABLE US DISCUSS
> > FURTHER DETAILS ON THE TRANSACTION. YOU ARE ALSO REQUIRED TO
> > PROVIDE A
> > SECURED TELEPHONE AND FAX FOR THE PURPOSE OF THIS TRANSACTION.
> >
> > EXPECTING TO HEAR FROM YOU SOONEST
> >
> > YOURS FAITHFULLY,
> >
> > DR. Greg Ossai.
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> ________________________________________________________________________
> Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs
> http://www.yahoo.co.uk/robbiewilliams
--- End Message ---
--- Begin Message ---
I am trying to send mail with the mail() function. My environment is Win2K
proffessional. IIS5.0 and my email server is Outlook. This is the error I'm getting
when i try to send mail.
i have changed the php.ini file for:
SMTP = my mail server
-------------------------
Creating socket
Successfully created socket!
Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED]
in c:\inetpub\wwwroot\gerardo\software\php\sockets\mail_server.php on line 25
-------------------------
--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Outlook is not a mail server, it is a mail client.
You need to load a mail server on your machine to get php mail() to work. A
decent, free one for Windows is Mercury, www.pmail.com. Once that is setup,
in php.ini change the SMTP line to SMTP= localhost
John
"Gerardo Rojas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I am trying to send mail with the mail() function. My environment is Win2K
proffessional. IIS5.0 and my email server is Outlook. This is the error I'm
getting when i try to send mail.
i have changed the php.ini file for:
SMTP = my mail server
-------------------------
Creating socket
Successfully created socket!
Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
[EMAIL PROTECTED] in
c:\inetpub\wwwroot\gerardo\software\php\sockets\mail_server.php on line 25
-------------------------
--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Your SMTP server is denying relay - go the IIS manager, select SMTP and the
properties and allow relay for localhost
Alan
"Gerardo Rojas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I am trying to send mail with the mail() function. My environment is Win2K
proffessional. IIS5.0 and my email server is Outlook. This is the error I'm
getting when i try to send mail.
i have changed the php.ini file for:
SMTP = my mail server
-------------------------
Creating socket
Successfully created socket!
Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
[EMAIL PROTECTED] in
c:\inetpub\wwwroot\gerardo\software\php\sockets\mail_server.php on line 25
-------------------------
--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]
--- End Message ---