> I have already posted it to bugs.php.net
> (http://bugs.php.net/bug.php?id=43730) and php is claiming it's not a bug.
They are correct, it's not a bug in PHP.
This is the standard behaviour for the Windows implementation of mail() as
noted in the documentation for the function.
Granted it's an
Hello,
on 01/29/2008 04:13 PM Dan Richfield said the following:
> I have already posted it to bugs.php.net
> (http://bugs.php.net/bug.php?id=43730) and php is claiming it's not a bug.
I am not surprised! ;-(
> Thanks for your suggestion, but I have to use mail because this is being
> offered to
I have already posted it to bugs.php.net
(http://bugs.php.net/bug.php?id=43730) and php is claiming it's not a bug.
Thanks for your suggestion, but I have to use mail because this is being
offered to shared hosting customers and a mass scale. Most applications and
developers use the mail() fu
Hello,
on 01/29/2008 02:57 PM Dan Richfield said the following:
> When using IIS7 with PHP 5.2.5 with the FastCGIModule, the mail()
> function returns the following error message when trying to use anything
> but a plain email address (ex. [EMAIL PROTECTED]) in the From or To
> headers:
>
> PHP W
localhost ( loopback ): 12.0.0.1
Typo fix :)
-Mike
On Mon, 8 Nov 2004, Sean S. Karshis wrote:
Date: Mon, 8 Nov 2004 08:36:23 -0500
From: Sean S. Karshis <[EMAIL PROTECTED]>
To: William Lee <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Re: mail function not worki
Also make sure that relaying is open on localhost (127.1.1.1).
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 07, 2004 10:30 PM
To: William Lee
Cc: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: mail function not working
Hello,
On 11/07/2004 11:48 PM
Hello,
On 11/07/2004 11:48 PM, William Lee wrote:
My system:
Windows XP
Apache
SMTP server: MailEnable
PHP 5.0.2
Whenever I try to use the mail function, it returns me a value of "false".
My php.ini settings are:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
Here's the function
Hello,
On 08/12/2004 04:37 PM, Anne Shroeder wrote:
Alas, I cannot use the mail() function on Windows. Someone told me about
this: http://www.phpguru.org/static/mime.mail.html but attempts to get it
to work have been futile. Does anyone else have a good and straightforward
solution for sending m
Hello,
On 02/29/2004 06:14 PM, Martin nielsen-Lönn wrote:
Is it possible to fetch an error from mail()? I have tried to send a e-mail but it doesn't work..
If track errors is not enabled in php.ini, no. Anyway, you may not be
able capture any delivery error as the actual delivery may be deferred
Hello,
On 01/07/2004 04:11 AM, Anthony Ritter wrote:
Using php/apache/mysql
I am testing an mail script.
The script has a .html form which receives the text input and then a .php
script to execute the variables in a mail() function.
When I publish both files - the .html and .php - to my ISP's se
ave 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 pu
TECTED]
> 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 = "welcomeM";
> $HTML_B = "Geee~";
> $HTML_T = "";
>
> $content = $HTML
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 = "stuff";
mail($address, $subject, $content, $header);
"Alan Mc
ok, u do like to put some html codes in the contents... :)
this one should be ok~~~
$HTML_H = "welcomeM";
$HTML_B = "Geee~";
$HTML_T = "";
$content = $HTML_H . $HTML_B . $_POST["content"] . $HTML_T;
mail($_POST["to"], $_POST["subject"], $content, $_POST["from"]);
?>
Alan McDonald wrote:
tha
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
I guess it's related to slashes... (addslashes)
Here is eg.
// yourform.html
to
subject
content
from
// mailto.php
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 s
i acidently sent it
Seung Hwan Kang wrote:
I guess it's related to slashes... (addslashes)
Here is eg.
// yourform.html
to
subject
content
from
// mailto.php
mail($to, $subject, $content, $from);
?>
well, now it's correct!
from Wollongong, NSW :)
Alan McDonald wrote:
Can someone te
Hello,
On 10/20/2003 08:44 AM, George Pitcher wrote:
Hi all,
I need to send MS Word attachments from PHP (they're built on the fly).
I've tried PHPMailer but that doesn't like my NT box so I've gone back to
php's mail() function.
I'm using the following script but and the attachment is in the sa
The servers are all in the same office. For the mail that is showing
the wrong time, it never leaves the office.
Thanks
Charles
-Original Message-
From: Max Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 10:44 PM
To: [EMAIL PROTECTED]; Charles P. Killmer
Subject: Re: Ma
how caan i offset the time zone for mail sending by mail() function?
i have same problem and time difference is 3hours and it's really bad
5o
Max Graham wrote:
> What timezone is the server in relative to you?
>
> Perhaps it's just the mail form itself that misinterprets the time ... I
> encou
What timezone is the server in relative to you?
Perhaps it's just the mail form itself that misinterprets the time ... I
encountered a similar issue when my host outsourced the hosting from his own
server in the same timezone I'm in to a server 2 hours ahead of here ... I
had to change the scripts
Find:
[mail function]
; For Win32 only.
SMTP = localhost
In the PHP.ini file, and make sure it's set, then you'll need to be running
an SMTP server (e.g. IIS).
--
Ben O'Neill
"John Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Is it possible to set up PHP so mail() send
Hello,
On 03/05/2003 11:07 PM, Jason Hawkins wrote:
Hi, can anyone help??
I am trying to use the mail() function. It works for addresses that are internal on
the intranet - but as soon as I try sending to an external address such as [EMAIL
PROTECTED] I have problems with the folllowing error mes
Ah ha! There can't be a space between CC: and the email address!?!?
That's not cool...
Thanks; this helps a lot.
Matt
|-Original Message-
|From: Ed [mailto:[EMAIL PROTECTED]]
|Sent: Wednesday, February 19, 2003 3:22 PM
|To: [EMAIL PROTECTED]
|Subject: [PHP-WIN] Re: mail()
Hi Matt,
All the remaing headers are int the last argument of the mail function.And
are sperareted by delimiter "\r\n"
like so..
mail("[EMAIL PROTECTED]", "the subject", $message, "From:
[EMAIL PROTECTED]\r\nCC:[EMAIL PROTECTED]\r\nBCC:getonetoo@shotsnail
.com");
regrads,
Ed
"Matt Hillebrand
check php.ini
[mail function]
; For Win32 only.
SMTP = you ISP's mail server (or your's).
after that restart webserver and use mail() function. You can check what
SMTP server use your php from phpinfo() function.
"Duncan" <[EMAIL PROTECTED]> ???/ ? ?:
002c01c2c70d$62
Hello
I think there is no mail server installed on the machine, on which ur
running th script.
Please make sure that smtp server is running
Send the details like php version , o/s and others
To: PHP Helplist Windows <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 7:37 PM
Subject: Mail
> Hi
Hello
I think there is no mail server installed on the machine, on which ur
running th script.
Please make sure that smtp server is running
Send the details like php version , o/s and others
To: PHP Helplist Windows <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 7:37 PM
Subject: Mail
> Hi
I disagree.
I personally use MDaemon from ALT-N Technologies and it has many many
features. It is used by a few big named companies and will serve the uses
of any small company to even very large companies. So I'd say that it is
very versitile and worth a try. It is NOT free, but they do have
are you sure your mail settings in php.ini are correct:
[mail function]
; For Win32 only.
SMTP= ; for Win32 only
; For Win32 only.
sendmail_from= ; for Win32 only
regds,
-Original Message-
From: Francisco Murillo Montoya [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 05, 2002 22:51
Hello,
On 10/05/2002 02:21 PM, Francisco Murillo Montoya wrote:
> Hello;
>
> I have PHP 4.2.3 on Windows 2000 advanced, and when
> I try to use the mail funtion, the server returns an error.
>
> mail("[EMAIL PROTECTED]","Formulario","cuerpo");
> ?>
>
> The page sais: Warning: Server error in
If you are looking for a mail server for windows, there is none better than
mercury mail server..
CS
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Ignatius Reilly" <[EMAIL PROTECTED]> wrote in message
004e01c25778$8ce4c490$a04d933e@satellite">news:004e01c25778$8ce4c490$a04d933e@satellite...
> I want to be able to use error_log() ( or mail() ) in a W2K Pro
installation
> (PHP 4.2). I suppose some kind of message queuing service or SMTP serve
Hello,
On 08/28/2002 08:57 AM, Peter wrote:
> Hello,
> I repeat: my PHP mail() function does not work. Apache tells me it can
> not connect.
> I have XP, Netscape, Apache, PHP, MYSQL. I have not the faintest idea
> where my smpt server is. I use Netscape for reading my e-mail.I have
> only a r
"Tomator" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> tried something like "Name" - and didn't work.
Try '"Name" ' or if you're using variables "\"$Name\"
<$email>". The latter uses "\" to escape the internal quotes so they are
interpreted literally.
> -Original Message-
> From: Jochem Kempe [mailto:[EMAIL PROTECTED]]
>
> it gives: Warning: failed to connect.
>
Either your SMTP-server or netconnection is missing.
If it's not the connection btween your server and the SMTP-server check the
php.ini and change the serverspecifications.
When I try to send an e-mail with the mail90 funstion it seems that it isn't
working very well.
I'm running apache 1.3.24 (2.0.36 can't be downloaden allready compiled, can
it?)
and when I put a line in my source like:
mail("[EMAIL PROTECTED]", "My Subject", "Line 1\r\nLine 2\r\nLine 3\r\n");
it
Hello,
On 05/11/2002 04:56 AM, Tomator wrote:
>>I'm using WinXP with PHP as Apache's module and have PHP.INI in C:\winnt,
>>where is the line "SMTP = my.addres". However phpinfo() ALWAYS tells that
>>SMTP is "localhost". I can change thist only with ini_set(), but it
>
> doesn't
>
>>fix my prob
> I'm using WinXP with PHP as Apache's module and have PHP.INI in C:\winnt,
> where is the line "SMTP = my.addres". However phpinfo() ALWAYS tells that
> SMTP is "localhost". I can change thist only with ini_set(), but it
doesn't
> fix my problem - I can't send any e-mail from my PHP!
OK, I've ma
Thanks man!! it did the job!
For a strange reason i just did'nt see it.
Thanks very much
Regards, Cheyenne
-- Tinck all media
www.tinck.com
[EMAIL PROTECTED]
"Steve Yates" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> "Cheyenne Vermeulen" <[EMAIL PROT
"Cheyenne Vermeulen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> $recipient.= "$voornaam $naam <$email>" ;
I would suggest trying this with just the e-mail address, and/or quotes
around the name. Heck, replace each of the four variables with a strin
You could try the following script to test it.. also check your firewall
settings.
""
Regards!
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The error occurs on 103 wich is the following line:
mail($recipient, $subject, $message, $headers);
Thanks in advance!
Regards
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Kenneth Brill" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If I issue a mail() command but there is no live internet connection,
what
> happens? Will the mail be sent when there is a connection?
Are you running your own mail server? If so then you ca
I've got an article up on setting up Hermes as a local SMTP server for PHP
scripts on Windows.
http://www.phpgeek.com/modules.php?op=modload&name=News&file=article&sid=8&m
ode=nested&order=2&thold=-1
"Mike Schmid" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
hi,
try this.
put it in your *.php file, where your mail() function is located.
i got the same probs.
W2K and IIS5 don't work with the smtp
[mail function] in php.ini.
tom
"George Pitcher" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
008201c1b470$41373b00$630db092@HLATITUDE">news:008201
Hi
Maybe you should test your php-installation by running a script containing
only
In the output you'll see if your php.ini file is parsed correctly. Watch out
for php.ini location an the SMTP value.
Christoph
"George Pitcher" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
008201c1b470$41373b00$
I mean...
"Jeff D. Hamann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Why does this one line script execute when run from the web browser and
not
> from the command line? That is to say, when I run this one line script in
a
> web browser, the code exec
just use the IP address of the Exchange server, or your ISPs smtp server
"Joseph Koenig" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I'm developing a site on a NT box (I'm much more familiar with unix) and
> am unable to get mail to send on NT. I'v
You forgot to declare $sitename and $admin_mail as global variables in your
function.
Either declare them global by adding the following line to your function:
global $site_name, $admin_mail;
or use the PHP-GLOBALS-Array:
function new_user_mail ($username, $password, $email, $name, $homepage)
Hi.
I tested the script on my server and it works! Just ignore the mail you got.
So the error has something to do with your smtp server. Look at your
server's log file to find out if there is a problem with user/password for
php. It may be necessary to create a new account for the php-user you se
Thanks Everybody I didn't even think of the whloe smtp server thing on my
own computer. Thanks for your help!
"Chris Burwell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> when i try to send an e-mail using the mail(); function i get the
following
> message:
>
Your SMTP server might not be on or working. For testing purpose,
you could use your own SMTP server on your computer from postcastserver.com,
download postcastserver (freewar)
--
Joel Agnel
[EMAIL PROTECTED]
"Chris Burwell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL P
Well i would like to know one thing.
Do you get the emails that are sent?
if so you have a problem different from the case you don't get any e-mails.
if you don't get any emails, you need to know a SMTP adrress (from your
ISP) and go to php.ini and search for [mail]. There you can find somethi
54 matches
Mail list logo