Richard was likely suggestion his mail example as listed in his signature
Other options include
phpmailer
pear's mime mail
various other classes available www.phpclasses.org
Fernando,
I recommend you check out the various PHP frameworks out there. Instead
of randomly searching for
Thank you. I'm looking at PEAR Mail_mime right now. It seems promising.
Fernando.
Date: Wed, 10 Jun 2009 23:14:11 +0530
From: sudhee...@binaryvibes.co.in
To: phps...@gmail.com
CC: jfer...@hotmail.com; rich...@php.net; php-general@lists.php.net
Subject: Re: [PHP] Mail function and hotmail
Hello all,I did a search and did not find anything I was looking for.
What is the limitation of the max emails that the mail function can send to?
Thanks,
Will
On Mon, Nov 3, 2008 at 12:56 PM, Will W [EMAIL PROTECTED] wrote:
What is the limitation of the max emails that the mail function can send to?
That's limited by three things:
1.) Server resource availability (RAM, CPU, bandwidth).
2.) Server configuration.
3.) Your
On Mon, Nov 3, 2008 at 1:19 PM, Daniel P. Brown
[EMAIL PROTECTED] wrote:
On Mon, Nov 3, 2008 at 12:56 PM, Will W [EMAIL PROTECTED] wrote:
What is the limitation of the max emails that the mail function can send to?
That's limited by three things:
1.) Server resource availability
Hi Chris,
interesting thing, but i get the following error message :
*Warning*: mail()
[function.mailhttp://test4.rogtek.com/common/function.mail]:
SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE
MODE. in */test4/common/sendmail.php* on line *119*
how can i solve this by
Alain Roger wrote:
Hi Chris,
interesting thing, but i get the following error message :
*Warning*: mail() [function.mail
http://test4.rogtek.com/common/function.mail]: SAFE MODE Restriction
in effect. The fifth parameter is disabled in SAFE MODE. in
*/test4/common/sendmail.php* on line *119*
hiChris,
i've read several forums where this mail() function from PHP initial package
is not so great.
Therefore a lot of people use PHPMailer which is more convenient for that
purpose...especially more flexible.
thanks a lot for your help.
Alain
On Thu, Mar 13, 2008 at 8:35 AM, Chris [EMAIL
Alain Roger wrote:
hiChris,
i've read several forums where this mail() function from PHP initial
package is not so great.
mail() works fine.
phpmailer (and zendmailer, swiftmailer and other such packages) help you
with things like:
- sending through an smtp server
- putting a multipart
Hi,
i'm playing a little bit with the mail function from PHP 5.2.4 and email
headers.
here is a snippet of my code:
$headers = 'From: '.$email. .$fromname.
\r\n.'Reply-To:'.$email.\r\n.'X-Mailer: PHP/' . phpversion();
if (mail($to, $subject, $body,$headers))
{
...
}
where:
$fromname =
On Wed, Mar 12, 2008 at 10:28 AM, Alain Roger [EMAIL PROTECTED] wrote:
Hi,
i'm playing a little bit with the mail function from PHP 5.2.4 and email
headers.
here is a snippet of my code:
$headers = 'From: '.$email. .$fromname.
\r\n.'Reply-To:'.$email.\r\n.'X-Mailer: PHP/' .
2008/3/12, Daniel Brown [EMAIL PROTECTED]:
You have the From: header parameters reversed. Try this:
?
$headers = From: .$fromname. .$email.\r\n;
$headers .= Reply-To: .$email.\r\n;
$headers .= X-Mailer: PHP/.phpversion().\r\n;
/*
*/
?
you can add these headers:
ok i will try... what about UTF-8 to ensure unicode ?
my website and especially the form which will send this email, will be
filled in by several nationalities... spanish, english, french, slovak,
german,,...
so isn't it easier to set up utf-8 ?
A.
On Wed, Mar 12, 2008 at 4:11 PM, spacemarc
ok i will try... what about UTF-8 to ensure unicode ?
my website and especially the form which will send this email, will be
filled in by several nationalities... spanish, english, french, slovak,
german,,...
so isn't it easier to set up utf-8 ?
A.
On Wed, Mar 12, 2008 at 4:11 PM, spacemarc
ok, so this is what i got and it is still remaining... :-(
Received: from serdev ([127.0.0.1]) by home.com with MailEnable ESMTP; Wed,
12 Mar 2008 16:40:18 +0100
Date: Wed, 12 Mar 2008 16:40:18 +0100
Subject: subject 3
To: [EMAIL PROTECTED]
From: raf, news [EMAIL PROTECTED]
Reply-To: [EMAIL
as you can see my Return-Path is still pointing on the wrong direction :-(
any other idea ?
return-path is set with the 5th mail() param:
mail($to, $subject, $body, $headers, '[EMAIL PROTECTED]');
--
Postgresql php tutorials
http://www.designmagick.com/
--
PHP General Mailing List
On 4 Mar 2008, at 21:18, Sofia Jacob (CA) wrote:
I'm getting problems with the mail() function.
ERROR:
Warning: mail() [function.mail]: Failed to connect to mailserver at
port 25, verify your SMTP and smtp_port setting in php.ini or
use ini_set() in
Stut wrote:
On 4 Mar 2008, at 21:18, Sofia Jacob (CA) wrote:
I'm getting problems with the mail() function.
ERROR:
Warning: mail() [function.mail]: Failed to connect to mailserver at
port 25, verify your SMTP and smtp_port setting in php.ini or use
ini_set() in
, March 04, 2008 4:57 PM
Subject: Re: [PHP] mail() function HELP
On 4 Mar 2008, at 21:18, Sofia Jacob (CA) wrote:
I'm getting problems with the mail() function.
ERROR:
Warning: mail() [function.mail]: Failed to connect to mailserver at
port 25, verify your SMTP and smtp_port setting in php.ini
Stut wrote:
Please include the list when replying. And please don't top-post, it
makes proper quoting difficult.
On 4 Mar 2008, at 22:10, Sofia Jacob (CA) wrote:
Yes, I did that first and I get the error:
Warning: mail() [function.mail]: Failed to connect to mailserver at
mail.yahoo.ca
What could happen that my mail function isn't working. I check twice my php.ini
conf and it's fine. I test sendmail manually and it's OK. I also try to send
mails with sendmail stoped and started and nothing happen
Este correo ha sido enviado desde el Politécnico de Informática Carlos Marx
de
[snip]
What could happen that my mail function isn't working. I check twice my php.ini
conf and it's fine. I test sendmail manually and it's OK. I also try to send
mails with sendmail stoped and started and nothing happen
[/snip]
Can we see your code?
--
PHP General Mailing List
Alberto García Gómez wrote:
What could happen that my mail function isn't working. I check twice
my php.ini conf and it's fine. I test sendmail manually and it's OK. I
also try to send mails with sendmail stoped and started and nothing
happen
Does your mail-server otherwise work?
/Per
Alberto García Gómez wrote:
What could happen that my mail function isn't working. I check twice my php.ini
conf and it's fine. I test sendmail manually and it's OK. I also try to send
mails with sendmail stoped and started and nothing happen
Este correo ha sido enviado desde el Politécnico
: Animesh Joshi [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Wednesday, August 01, 2007 3:20 AM
Subject: [PHP] mail function
I've installed IIS (Internet information services on my windows XP machine.
I've also installed php 5.0 from www.php.net. I'm trying to use the mail()
function
Animesh Joshi wrote:
I've installed IIS (Internet information services on my windows XP machine.
I've also installed php 5.0 from www.php.net. I'm trying to use the mail()
function in a simple php script which uses a html form. However, i'm not able
to send the mail using the mail($to,
I've installed IIS (Internet information services on my windows XP machine.
I've also installed php 5.0 from www.php.net. I'm trying to use the mail()
function in a simple php script which uses a html form. However, i'm not able
to send the mail using the mail($to, $subject, $message,
On Thu, July 12, 2007 6:33 pm, Tanner Postert wrote:
I am currently running
PHP 5.1.4
Fedora Core 5
i'm trying to exectute the following test script.
?php
$to = '[EMAIL PROTECTED]';
$subject = 'the subject';
$message = 'body';
$headers = 'From: [EMAIL PROTECTED]' . \r\n .
Richard Lynch wrote:
On Thu, July 12, 2007 6:33 pm, Tanner Postert wrote:
I am currently running
PHP 5.1.4
Fedora Core 5
i'm trying to exectute the following test script.
?php
$to = '[EMAIL PROTECTED]';
$subject = 'the subject';
$message = 'body';
$headers = 'From: [EMAIL PROTECTED]' .
apache is definitely listed in the trusted users, as I mentioned, I can send
from dozens of other domains, its just one specific domain that I can't.
i'll let you know the results of sending the email from outside of php.
On 7/12/07, Chris [EMAIL PROTECTED] wrote:
Richard Lynch wrote:
On Thu,
mail function returns 1(true) whether or not i'm sending to the new virtual
host domain name or any random domain name.
turns out sendmail function does the same thing, so it looks like it's a
sendmail problem... but how is that possible if i've never configured
anything for this new domain
figured it out...
the domain in question's dns is set to CNAME to the main domain on that
server, whereas, the remaining domains are just using the A record with the
IP. I changed one of the other domains to use the CNAME and it did the same
thing. So looks like thats the culprit.
I'll have to
On 7/13/07, Tanner Postert [EMAIL PROTECTED] wrote:
figured it out...
the domain in question's dns is set to CNAME to the main domain on that
server, whereas, the remaining domains are just using the A record with the
IP. I changed one of the other domains to use the CNAME and it did the same
thanks, thats exactly where I went. looks like i'm on the right track.
On 7/13/07, Tijnema [EMAIL PROTECTED] wrote:
On 7/13/07, Tanner Postert [EMAIL PROTECTED] wrote:
figured it out...
the domain in question's dns is set to CNAME to the main domain on that
server, whereas, the remaining
Subject: [PHP] mail function from and reply to address problem
I am currently running
PHP 5.1.4
Fedora Core 5
i'm trying to exectute the following test script.
?php
$to = '[EMAIL PROTECTED]';
$subject = 'the subject';
$message = 'body';
$headers = 'From: [EMAIL PROTECTED]' . \r\n .
'Reply
I am currently running
PHP 5.1.4
Fedora Core 5
i'm trying to exectute the following test script.
?php
$to = '[EMAIL PROTECTED]';
$subject = 'the subject';
$message = 'body';
$headers = 'From: [EMAIL PROTECTED]' . \r\n .
'Reply-To: [EMAIL PROTECTED]' . \r\n .
'X-Mailer: PHP/' .
On 7/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Chris a écrit :
web2 wrote:
Chris a écrit :
Try this:
?
$email = [EMAIL PROTECTED];
$headers = From: .$email.\r\n;
$headers .= X-Mailer: PHP/.phpversion().\r\n;
if(mail([EMAIL PROTECTED],essai,test,$headers)) {
echo OK:
Chris a écrit :
web2 wrote:
Chris a écrit :
Try this:
?
$email = [EMAIL PROTECTED];
$headers = From: .$email.\r\n;
$headers .= X-Mailer: PHP/.phpversion().\r\n;
if(mail([EMAIL PROTECTED],essai,test,$headers)) {
echo OK: .ini_get('sendmail_path');
} else {
echo NOK:
On 7/5/07, Daniel Brown [EMAIL PROTECTED] wrote:
On 7/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Chris a écrit :
web2 wrote:
Chris a écrit :
Try this:
?
$email = [EMAIL PROTECTED];
$headers = From: .$email.\r\n;
$headers .= X-Mailer: PHP/.phpversion().\r\n;
On 7/5/07, Tijnema [EMAIL PROTECTED] wrote:
he's running it on the web, as the CLI worked ;)
Yeah, I knew it was mentioned before, but I couldn't remember. I
think I have early-onset Alzheimer's.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
--
PHP General
Chris a écrit :
Try this:
?
$email = [EMAIL PROTECTED];
$headers = From: .$email.\r\n;
$headers .= X-Mailer: PHP/.phpversion().\r\n;
if(mail([EMAIL PROTECTED],essai,test,$headers)) {
echo OK: .ini_get('sendmail_path');
} else {
echo NOK: .ini_get('sendmail_path');
}
?
Note
Same
web2 wrote:
Chris a écrit :
Try this:
?
$email = [EMAIL PROTECTED];
$headers = From: .$email.\r\n;
$headers .= X-Mailer: PHP/.phpversion().\r\n;
if(mail([EMAIL PROTECTED],essai,test,$headers)) {
echo OK: .ini_get('sendmail_path');
} else {
echo NOK: .ini_get('sendmail_path');
}
?
Daniel Brown a écrit :
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Daniel Brown a écrit :
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I've already checked :
- the mail logs : no mail send
- and the apache error and access logs : nothing except this :
192.168.0.1 - -
Try this:
?
$email = [EMAIL PROTECTED];
$headers = From: .$email.\r\n;
$headers .= X-Mailer: PHP/.phpversion().\r\n;
if(mail([EMAIL PROTECTED],essai,test,$headers)) {
echo OK: .ini_get('sendmail_path');
} else {
echo NOK: .ini_get('sendmail_path');
}
?
Note
Same result : NOK
I've already checked :
- the mail logs : no mail send
- and the apache error and access logs : nothing except this :
192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php
HTTP/1.1 200 49291 - Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I've already checked :
- the mail logs : no mail send
- and the apache error and access logs : nothing except this :
192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php
HTTP/1.1 200 49291 - Mozilla/5.0 (Windows; U; Windows
Daniel Brown a écrit :
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I've already checked :
- the mail logs : no mail send
- and the apache error and access logs : nothing except this :
192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php
HTTP/1.1 200 49291 -
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Daniel Brown a écrit :
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I've already checked :
- the mail logs : no mail send
- and the apache error and access logs : nothing except this :
192.168.0.1 - - [02/Jul/2007:14:07:22
On 7/2/07, Daniel Brown [EMAIL PROTECTED] wrote:
{snip}
Note
Sorry, hit the button before I was done typing.
Note the trailing \r\n after the X-Mailer line as well.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
--
PHP General Mailing List
[EMAIL PROTECTED] wrote:
Hi,
I'm running PHP 5.2.3 on Solaris 10 (AMD64).
My mail function doesn't send any mail, the return value of mail
function is false...
But sendmail_path value is OK in php.ini, and I've tried to send a mail
with sendmail on console with the same user (the apache
Hi,
I'm running PHP 5.2.3 on Solaris 10 (AMD64).
My mail function doesn't send any mail, the return value of mail
function is false...
But sendmail_path value is OK in php.ini, and I've tried to send a mail
with sendmail on console with the same user (the apache user), and
everything's ok...
Hi,
What i understand is, you have written a new function for sending emails.
Are you passing all the variables to that function? If not, you have to
pass.
or you can use my function
?php
// function declaration, This function can send only HTML emails
function sendMail ($toEmail, $subject,
Hi,
Tried it...but it didn't work...Not sure why. I am using a respectable ISP
and they are looking at the problem although they tend to take their time.
I figure I must not be passing the variable. I will post my entire code.
For all those that help again thank you.
?php
For whatever reason I can't pass the variable $email into the mail function to
make it send me an email..can anyone help?
Here is my code
?php
require(config.php);
require(functions.php);
//echo some styles to spice it up...
echo
style
body
{
background: #131313;
Hi,
I am working on a program to create a registration feature through a email
notificaiton much like this list. For functional use but also for personal
training.
However, I can't seem to pass the variable into the mail function() ? If I
echo the variable it displays it so it must
Hi,
I have PHP6 installed (Snapshot:200703141130) and somehow it says now
that the mail function is undefined, i have sendmail installed in /usr
(is in $PATH)
my configure command:
'./configure' '--prefix=/usr' '--with-pear' '--enable-all'
'--with-apxs2' '--without-fbsql' '--without-interbase'
On Sat, 2007-03-17 at 11:07 +0100, Tijnema ! wrote:
Hi,
I have PHP6 installed (Snapshot:200703141130) and somehow it says now
that the mail function is undefined, i have sendmail installed in /usr
(is in $PATH)
my configure command:
'./configure' '--prefix=/usr' '--with-pear'
On 3/17/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Sat, 2007-03-17 at 11:07 +0100, Tijnema ! wrote:
Hi,
I have PHP6 installed (Snapshot:200703141130) and somehow it says now
that the mail function is undefined, i have sendmail installed in /usr
(is in $PATH)
my configure command:
Chris, Richard,
Thank you for your advice.
Inserting sleep(1) into the script seems to have done the trick.
I will also look into the other alternatives you suggest, such as
different mail programs and the error output of mail() to see if I can
optimize the system further.
Thank you for
PHP List,
I have a database of about 120 users. Each weak I send out a newsletter.
So far as I know, it's been working fine for the last couple of years.
Then recently some users emailed me to let me know that they haven't
been receiving all the messages. I added extra output to my script to
Dave M G wrote:
PHP List,
I have a database of about 120 users. Each weak I send out a newsletter.
So far as I know, it's been working fine for the last couple of years.
Then recently some users emailed me to let me know that they haven't
been receiving all the messages. I added extra
On Fri, June 9, 2006 12:59 am, Dave M G wrote:
I have a database of about 120 users. Each weak I send out a
newsletter.
So far as I know, it's been working fine for the last couple of years.
Then recently some users emailed me to let me know that they haven't
been receiving all the messages.
I am working with a server that has version 4.2.2 on it. I know...I
know...its old. Its my ISPs server so I don't have too much control over
it.
Anyway, I am seeing a problem where when I use the mail function to send
out an email only some of the messages get to the destination. I wrote a
On 6/1/06, Aaron Todd [EMAIL PROTECTED] wrote:
I am working with a server that has version 4.2.2 on it. I know...I
know...its old. Its my ISPs server so I don't have too much control over
it.
Anyway, I am seeing a problem where when I use the mail function to send
out an email only some of
Thanks for the reply. I'll ask the ISP about throtteling next time I talk
with them.
I would also like to mention that I am also getting intermitent results when
just sending a single email. One if the web pages I am testing is a support
request form. When the form is submitted it sends an
Aaron Todd wrote:
Thanks for the reply. I'll ask the ISP about throtteling next time I talk
with them.
I would also like to mention that I am also getting intermitent results when
just sending a single email. One if the web pages I am testing is a support
request form. When the form is
.
On Sun, March 19, 2006 3:50 pm, Paul Goepfert wrote:
Hi all,
Has anyone had this problem before? I have a web server that resides
on a windows platform (According to phpinfo()). I used the php mail
function to send out a test message to make sure that the mail
function would work when needed
Hi all,
Has anyone had this problem before? I have a web server that resides
on a windows platform (According to phpinfo()). I used the php mail
function to send out a test message to make sure that the mail
function would work when needed. I sent out the test message and I
didn't get an email
Dear all,
I wanna mail to x user that x can't see my IP address.
Do you know same function?
--Mohsen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
does anyone know whats better/uses less resource etc:
If I run a loop to send a 1000 emails, should I use php's mail fucntions
or send directly to the servers smtp server.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Oct 31, 2005 at 12:10:02PM +0200, Clive wrote:
does anyone know whats better/uses less resource etc:
If I run a loop to send a 1000 emails, should I use php's mail fucntions
or send directly to the servers smtp server.
What do you mean by send directly? Are you thinking of sending
Hi Clive,
Monday, October 31, 2005, 10:10:02 AM, you wrote:
does anyone know whats better/uses less resource etc:
If I run a loop to send a 1000 emails, should I use php's mail fucntions
or send directly to the servers smtp server.
Use PEAR Mail Queue.
Cheers,
Rich
--
Zend Certified
Clive wrote:
Hi
does anyone know whats better/uses less resource etc:
If I run a loop to send a 1000 emails, should I use php's mail fucntions
or send directly to the servers smtp server.
Depends on your setup. If you're on Linux/Unix you could use the mail()
function along with the -odq
On Mon, Oct 31, 2005 at 12:38:09PM +0200, Clive wrote:
what I mean is: im using a class called phpmailer and it has the option
to sent to a smtp server, I suppose this means that they do open a
socket to the smtp server.
All that means is that you can specify an external SMTP server (e.g.
On 31 Oct 2005, at 10:34, Richard Heyes wrote:
Depends on your setup. If you're on Linux/Unix you could use the
mail() function along with the -odq option to Sendmail/Postfix/
Exim etc (fifth argument to the mail() function) which will dump
all the mails into the MTAs queue. After this, the
at a time really) using something like PEAR
Queue as has already been suggested.
There also another option with the class: using the sendmail program,
but won't the php mail function use sendmail anyway
As far as I know, mail() just sends stuff to whatever the sendmail
binary is on your system
On Mon, October 31, 2005 4:10 am, Clive wrote:
does anyone know whats better/uses less resource etc:
If I run a loop to send a 1000 emails, should I use php's mail
fucntions
or send directly to the servers smtp server.
SMTP
PHP's mail() function was never designed for high-volume email.
It
On Mon, October 31, 2005 5:22 am, Paul Waring wrote:
On Mon, Oct 31, 2005 at 12:56:01PM +0200, Clive wrote:
Thanks I actually want to send 24 000 emails with 2 meg attachments.
Woof.
mail() is DEFINITELY the wrong answer!
Firing up an SMTP connection and spewing 24,000 emails with 2 meg
Peppy wrote:
AJ,
So what your reply means is that I should not have a new line character in
any variable on my page???
Of course you can have newlines in your email message, just make sure
that any user input is received through POST, and that you run a regular
expression to validate that
AJ,
So what your reply means is that I should not have a new line character in any
variable on my page???
Then is there any way to format the email so it is readable?
Thanks.
I have been working on making my contact forms more secure. In my research,
the occurence of the new line character \n at the end of the $headers variable
in the mail function seems to be a security risk and opens one up to injection
of spam email. This part I understand. I have been unable
On Tue, July 19, 2005 4:31 pm, Cabbar Duzayak said:
I have a web site that is going to have around total of 10-20 thousand
unique users, about 1000 unique hits per day on shared hosting.
I have been using PHP's internal mail mechanism with the local smtp
server on my hosting company, but it
Hi,
I have a web site that is going to have around total of 10-20 thousand
unique users, about 1000 unique hits per day on shared hosting.
I have been using PHP's internal mail mechanism with the local smtp
server on my hosting company, but it is more like a hit-and-miss kind
of thing. And,
On Tue, May 17, 2005 3:53 pm, [EMAIL PROTECTED] said:
I have a script which send emails using mail() function. I have 100 email
addresses and i set up the script to send 1 email every 10 seconds. So, it
will take 1000 seconds
to send all 100 emails.
My question is: If I stop the script
Hi,
I have a script which send emails using mail() function. I have 100 email
addresses and i set up the script to send 1 email every 10 seconds. So, it will
take 1000 seconds
to send all 100 emails.
My question is: If I stop the script after,let's say 12 seconds, it will send
only 1 email
I can't seem to get the mail function to work.
Is there a way to authenticate before sending mail, I believe this is my
issue.
Also in my php.ini file the parameter sendmail_path is empty. Is this a
required parameter for sending mail?
I'm using Windows/IIS.
Thanks,
Dave
HTC
Bosky, Dave wrote:
I can't seem to get the mail function to work.
Is there a way to authenticate before sending mail, I believe this is my
issue.
No. Manuel will be along soon to tell you to look at the SMTP classes on
phpclasses.org, though. ;) There are classes there that do this, so try
them.
, though. ;) There are classes there that do this, so try
them.
Thank you for the introduction, John. ;-)
Dave, as John mentioned the PHP mail() function does not know how to
authenticate.
You may want to try this class that comes with a wrapper function named
smtp_mail(). It works like the mail
Nicolae Serban wrote:
I have this code to send an e-mail !!!
$ok=mail($dest, $subject, $mesaj,
From: $expe\r\n
.Reply-To: $expe\r\n
.X-Mailer: PHP/ . phpversion());
It works on windows, i must change something to work on linux
No, but the
I have this code to send an e-mail !!!
$ok=mail($dest, $subject, $mesaj,
From: $expe\r\n
.Reply-To: $expe\r\n
.X-Mailer: PHP/ . phpversion());
It works on windows, i must change something to work on linux
Thanks
--
PHP General Mailing List
mail function in php requires to use 'sendmail'. But I have only
'qmail' on the box. How I can send email in PHP?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm developing uner Windows at home .. but I'm pretty sure that my host is
running Unix or Unix like systems on their machines
Pahlevanzadeh Mohsen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Please install a mailserver until your SMTP server
will be up.
When your SMTP server is
Hi
I was trying to use the mail() function, but it did not work, maybe because
of some settings problem or something that I can't figure out
I went online and tried to execute the following
//===
?php
$from = $_POST['from'];
$subject
Hi
I was trying to use the mail() function, but it did not work, maybe because
of some settings problem or something that I can't figure out
I went online and tried to execute the following
//===
?php
$from = $_POST['from'];
$subject
Please install a mailserver until your SMTP server
will be up.
When your SMTP server is down,mail func doesn't work.
My suggesstion:
Please work under UNIX systems.
Yours,Mohsen
--- Dre [EMAIL PROTECTED] wrote:
Hi
I was trying to use the mail() function, but it did
not work, maybe because
of
On Wed, Sep 01, 2004 at 06:09:04PM +0300, Dre wrote:
Hi
I was trying to use the mail() function, but it did not work, maybe because
of some settings problem or something that I can't figure out
I went online and tried to execute the following
I am sure that this is a problem with my MTA configuration not PHP itself,
but any help would be appreciated.
PHP is set to use sendmail (although I understand that my server may be
using qmail and not really sendmail?)
It seems that whatever SMPT settings I place in php.ini ignores. (SMTP
On Mon, 2004-08-09 at 08:56, BOOT wrote:
I am sure that this is a problem with my MTA configuration not PHP itself,
but any help would be appreciated.
PHP is set to use sendmail (although I understand that my server may be
using qmail and not really sendmail?)
It seems that whatever SMPT
On Monday 09 August 2004 23:56, BOOT wrote:
I am sure that this is a problem with my MTA configuration not PHP itself,
but any help would be appreciated.
PHP is set to use sendmail (although I understand that my server may be
using qmail and not really sendmail?)
Makes no practical
Hi
I am not a php programmer but have installed a php based blog. When the php
script tries to use the mail() function it fails. Does the mail function
rely on the sendmail server? Is there a way to make the mail() function just
send via an external smtp server?
Thanks in advance
Robin
---
101 - 200 of 408 matches
Mail list logo