, 2007 9:48 PM
To: Brad
Cc: Andrés Robinet; php-general@lists.php.net
Subject: Re: [PHP] two small issues with php mail
Note this code is untested and directly typed from a phone.
?php
$to = '[EMAIL PROTECTED]';
$subject = 'Free iPod!';
$message = 'Even though I will be filtered, get your FREE
]
Sent: Monday, November 19, 2007 11:49 PM
To: php-general@lists.php.net
Subject: FW: [PHP] two small issues with php mail
-Original Message-
From: Brad [mailto:[EMAIL PROTECTED]
Sent: Monday, November 19, 2007 9:48 PM
To: 'Chris'
Subject: RE: [PHP] two small issues with php
:[EMAIL PROTECTED]
Sent: Monday, November 19, 2007 9:48 PM
To: Brad
Cc: Andrés Robinet; php-general@lists.php.net
Subject: Re: [PHP] two small issues with php mail
Note this code is untested and directly typed from a phone.
?php
$to = '[EMAIL PROTECTED]';
$subject = 'Free iPod
Brad wrote:
It makes sense, but the Bcc is still not making it through.
Not sure if the smtp portion is correct either.
No parse errors, but no email from the bcc either.
?
$email = $_REQUEST['email'];
$fromaddress = '[EMAIL PROTECTED]';
$fromname = 'Zone of success Club'; $eol = \r\n;
$smtp =
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
Hi all,
when i send a mail using mail(), every quote and double quote in the
subject and in the body of the mail get escaped. Since this is somewhat
ugly, especially in languages which widely uses the single quotes (as
italian does), i am wandering if there is someway to avoid this.
Thanks for
Stefano Esposito wrote:
Hi all,
when i send a mail using mail(), every quote and double quote in the
subject and in the body of the mail get escaped. Since this is somewhat
ugly, especially in languages which widely uses the single quotes (as
italian does), i am wandering if there is someway to
in my php.ini, I have this set
sendmail_from = [EMAIL PROTECTED]
yet when I do this command :([EMAIL PROTECTED],TEST
MAIL,TESTING MAIL);
I get this message Warning: mail() [function.mail]: sendmail_from not set
in php.ini or custom From: header missing in
C:\Inetpub\wwwroot\intranet\test.php
on line 4
And if instead of using the php.ini directive you use the fourth
argument to mail()?
Eg:
?php
mail([EMAIL PROTECTED],
TEST MAIL,
TESTING MAIL,
'[EMAIL PROTECTED]');
?
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge
\wwwroot\intranet\test.php on line 4
And if instead of using the php.ini directive you use the fourth
argument to mail()?
Eg:
?php
mail([EMAIL PROTECTED],
TEST MAIL,
TESTING MAIL,
'[EMAIL PROTECTED]');
?
Oops. That should be:
?php
mail([EMAIL PROTECTED
in php.ini or custom From: header missing in
C:\Inetpub\wwwroot\intranet\test.php on line 4
And if instead of using the php.ini directive you use the fourth
argument to mail()?
Eg:
?php
mail([EMAIL PROTECTED],
TEST MAIL,
TESTING MAIL,
'[EMAIL
in my php.ini, I have this set
sendmail_from = [EMAIL PROTECTED]
The first thing I'd do is verify if the script is really using the php.ini you
think it is by having the script output phpinfo.
_
Peek-a-boo FREE Tricks Treats
when I try to send mail using this code:
mail([EMAIL PROTECTED],TEST MAIL,TESTING MAIL);
I get this error:
Warning: mail() [function.mail]: SMTP server response: 554
[EMAIL PROTECTED]: Recipient address rejected: Access denied in
C:\Inetpub\wwwroot\intranet\test.php on line 4
my settings in
Hello everybody,
I am maintaining a social network site.
there each user can send other mail.
these mails are not real mail rather message entry to database.
I added a new feature so that every message is sent to me (admin/webmaster)
via email (real e-mail).
I used mail function.
THis is a simple
shiplu wrote:
I am maintaining a social network site.
there each user can send other mail.
these mails are not real mail rather message entry to database.
I added a new feature so that every message is sent to me (admin/webmaster)
via email (real e-mail).
I used mail function.
THis is a simple
You might want to consider a few things:
Queueing your email in a database table and sending it out in a
separate process.
or
Finding a mail daemon that will queue quickly for you and not send
directly on adding to the queue.
I use the first of the two options and it works quite well for us.
shiplu wrote:
Hello everybody,
I am maintaining a social network site.
there each user can send other mail.
these mails are not real mail rather message entry to database.
I added a new feature so that every message is sent to me (admin/webmaster)
via email (real e-mail).
I used mail function.
I have a question that might be too silly for those of you who are PHP
gurus.
Here it comes:
I had a mail (specifically in the headers) function call like this:
$header = ;
$header .= 'From: [EMAIL PROTECTED];
$header .= 'MIME-Version: 1.0\r\n;
$header .= 'Content-type: text/html;
Hi,
Question:
Why? What's the real difference between
$header .= 'From: [EMAIL PROTECTED]' . \r\n;
and
$header .= 'From: [EMAIL PROTECTED];
Your second declaration is incorrect: you start with a single quote ('),
and you end with a double ().
So, you'd say ok, let's fix it:
$header .=
On 9/1/07, Rodrigo Poblanno Balp [EMAIL PROTECTED] wrote:
I have a question that might be too silly for those of you who are PHP
gurus.
Here it comes:
I had a mail (specifically in the headers) function call like this:
$header = ;
$header .= 'From: [EMAIL PROTECTED];
$header .=
no difference
bastien
Date: Sat, 1 Sep 2007 08:00:11 -0500
From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] mail()
silly question I have a question that might be too silly for those of you who
are PHP gurus. Here it comes: I
://www.aerocore.net/
Cell: (413) 335-2656
-Original Message-
From: Rodrigo Poblanno Balp [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 01, 2007 9:00 AM
To: php-general@lists.php.net
Subject: [PHP] mail() silly question
I have a question that might be too silly for those of you who are PHP
gurus
Hello All,
I am having an issue with mail.
include '../../Process/include/LDAP.php';
echo $user_email;
$to = $user_email;
$subject = 'Request Submitted Successfully!';
$message = Congratulations!\nYour request has been successfully
submitted.\nThis is an automated email, please do not reply.;
[snip]
PHP Warning: mail()
[function.mailhttp://develop1/credit%20card%20processing/Submit/ChildSu
pport/function.mail]:
SMTP server response: 504 br /: Recipient address rejected: need
fully-qualified address.
The value of $user_email when it is echoed out above is [EMAIL PROTECTED]
[/snip]
The . (period) is simply the end of my sentance in the email.
The From address is specified in the php.ini and is fully qualified.
If I hard code the value of $to into the mail function it works fine.
$user_email = [EMAIL PROTECTED]
$to = [EMAIL PROTECTED]
mail($to, $subject, $message); = PHP
[snip]
The . (period) is simply the end of my sentance in the email.
The From address is specified in the php.ini and is fully qualified.
If I hard code the value of $to into the mail function it works fine.
$user_email = [EMAIL PROTECTED]
$to = [EMAIL PROTECTED]
mail($to, $subject,
-Original Message-
From: Dan Shirah [mailto:[EMAIL PROTECTED]
Sent: 22 August 2007 13:28
To: Jay Blanchard
Cc: php-general
Subject: Re: [PHP] mail() issue
The . (period) is simply the end of my sentance in the email.
The From address is specified in the php.ini and is fully
[mailto:[EMAIL PROTECTED]
Sent: 22 August 2007 13:28
To: Jay Blanchard
Cc: php-general
Subject: Re: [PHP] mail() issue
The . (period) is simply the end of my sentance in the email.
The From address is specified in the php.ini and is fully qualified.
If I hard code the value
try doing a trim($email) to remove any whitespace, just in case
bastien Date: Wed, 22 Aug 2007 08:27:36 -0400 From: [EMAIL PROTECTED] To:
[EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] mail()
issue The . (period) is simply the end of my sentance in the email. The
From
On 8/7/07, Luc [EMAIL PROTECTED] wrote:
Good evening list,
i'm having a strange mail problem:
i have 2 contact-forms on a site, where 1 get's send to the e-mail
account and the other doesn't. I've tested them both on my remote
server and they work, but when i upload them to the
Good evening list,
Solved the problem myself :-)
i changed the mail function
instead of $youremail = '[EMAIL PROTECTED]', i used $to =
and changed the mail fuction from:
@mail($contato_email,$subjectline,$body, From: $contato_email);
into
@mail($to,$subjectline,$body,
I'm having problem with php mail. When I try to create an
html message with only a href='mydomain.com'mydomain/a,
gmail is registering it as a spam while yahoo is not.
Can you suggest solutions to my problem.
Try sending a real message. Messages being too small is one indicator
mail
Hi Everyone,
I'm having problem with php mail. When I try to create an html message
with only mydomain, gmail is registering it as a spam while yahoo is not.
Can you suggest solutions to my problem.
Thanks,
Jason
Send instant messages to your online friends http
On 8/5/07, Jason Sia [EMAIL PROTECTED] wrote:
Hi Everyone,
I'm having problem with php mail. When I try to create an html message
with only a href='mydomain.com'mydomain/a, gmail is registering it as a
spam while yahoo is not. Can you suggest solutions to my problem.
Thanks,
Jason
)
Regards,
Carlton Whitehead
- Original Message -
From: Tijnema [EMAIL PROTECTED]
To: Jason Sia [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Sunday, August 5, 2007 11:22:13 AM (GMT-0500) America/New_York
Subject: Re: [PHP] Problem with php mail
On 8/5/07, Jason Sia [EMAIL PROTECTED
Hi Everyone,
I'm having problem with php mail. When I try to create an html message
with only a href='mydomain.com'mydomain/a, gmail is registering it as a
spam while yahoo is not. Can you suggest solutions to my problem.
Thanks,
Jason
Send instant messages to your online friends http
: 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,
Use something like http://phpmailer.sf.net/ which handles everything for
you already :)
Or:
http://www.phpguru.org/static/htmlMimeMail5.html
and
http://www.phpguru.org/downloads/html.mime.mail/
--
Richard Heyes
+44 (0)844 801 1072
http://www.websupportsolutions.co.uk
Knowledge Base and
Hello to everyone!..I had problems with attaching a document to an email
using PHP..can somebody share some ideas on how to properly do it?
Thanks in advance!
Vanessa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vanessa Vega wrote:
Hello to everyone!..I had problems with attaching a document to an email
using PHP..can somebody share some ideas on how to properly do it?
Use something like http://phpmailer.sf.net/ which handles everything for
you already :)
--
Postgresql php tutorials
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...
On Sat, May 5, 2007 3:53 pm, Andy B. wrote:
Is there any way to debug the mail() function within PHP4 or PHP5?
Check Apache error logs.
Check sendmail (or whatever) error logs.
The following code is not working when called from a browser, but it
does
work from the command line:
Often points
On Sat, May 5, 2007 5:04 pm, Andy B. wrote:
Both are exactly the same, as I copied the CLI version into the Apache
Version. Of course I first tested with the original Apache php.ini
before
overwriting it with the CLI version.
I'm not quite sure what you are saying here, but the CLI version
message like /usr/sbin/sendmail: permission denied would have made
it.
Regards,
Andy
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 08, 2007 01:01
To: Andy B.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mail() only working with php-cli
Cc: Andy B.
Subject: Re: [PHP] mail() only working with php-cli
Hello Andy,
did you take a look into the apache log files?
Regards,
Oliver
Am Samstag, 5. Mai 2007 22:53 schrieb Andy B.:
Is there any way to debug the mail() function within PHP4 or PHP5?
The following code is not working
on and then try to access the sendmail
binary.
Tijnema
-Original Message-
From: Oliver Block [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 05, 2007 23:58
To: php-general@lists.php.net
Cc: Andy B.
Subject: Re: [PHP] mail() only working with php-cli
Hello Andy,
did you take a look
Is there any way to debug the mail() function within PHP4 or PHP5?
The following code is not working when called from a browser, but it does
work from the command line:
?php
$to = '[EMAIL PROTECTED]';
$subject = 'the subject';
$message = 'hello...';
$headers = 'From: [EMAIL PROTECTED]'
On 5/5/07, Andy B. [EMAIL PROTECTED] wrote:
Is there any way to debug the mail() function within PHP4 or PHP5?
The following code is not working when called from a browser, but it does
work from the command line:
?php
$to = '[EMAIL PROTECTED]';
$subject = 'the subject';
$message =
tested with E_ALL
and also dumping errors/warnings into log files...
Andy
-Original Message-
From: Tijnema ! [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 05, 2007 23:58
To: Andy B.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mail() only working with php-cli
Are you sure
Hello Andy,
did you take a look into the apache log files?
Regards,
Oliver
Am Samstag, 5. Mai 2007 22:53 schrieb Andy B.:
Is there any way to debug the mail() function within PHP4 or PHP5?
The following code is not working when called from a browser, but it does
work from the command
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'm having problem with character encoding in PHP mail functions.
CODE:
$headers.= Content-Type: text/html; charset=iso-8859-1;
$headers .= MIME-Version: 1.0 ;
$headers .= Content-Transfer-Encoding: 8bit.$eol.$eol;
$headers .=Content-Type: multipart
2007. 03. 20, kedd keltezéssel 10.54-kor Delta Storm ezt írta:
Hi,
I'm having problem with character encoding in PHP mail functions.
CODE:
$headers.= Content-Type: text/html; charset=iso-8859-1;
$headers .= MIME-Version: 1.0 ;
$headers .= Content-Transfer
=utf8_encode($subject);
$text2=utf8_encode($text);
mail([EMAIL PROTECTED],$subject,$text2,$header);
This encodes message to UTF-8 and should work.
2007. március 20. 10.54 dátummal Delta Storm ezt írta:
Hi,
I'm having problem with character encoding in PHP mail functions.
CODE:
$headers.= Content-Type
On Tue, March 20, 2007 4:54 am, Delta Storm wrote:
Disclosure:
What I understand of Unicode could fit in a matchbook...
I'm having problem with character encoding in PHP mail functions.
CODE:
$headers.= Content-Type: text/html; charset=iso-8859-1;
$headers .= MIME-Version: 1.0
Hello,
on 03/20/2007 06:54 AM Delta Storm said the following:
Hi,
I'm having problem with character encoding in PHP mail functions.
CODE:
$headers.= Content-Type: text/html; charset=iso-8859-1;
$headers .= MIME-Version: 1.0 ;
$headers .= Content-Transfer-Encoding: 8bit
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:
On Tue, March 13, 2007 1:35 pm, Dani Dws wrote:
I just want to know if the mail function works from a localhost (local
server)?
It *can* be made to work, even if you have not succeeded so far.
I've checked my php.ini all the setting are right but the mail
function is
not sending any mail,
Dani Dws escribió:
I just want to know if the mail function works from a localhost (local
server)?
I've checked my php.ini all the setting are right but the mail function
is not sending any mail, any idea?
How are you using it?
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
You can use the fifth parameter:
[EMAIL PROTECTED]
This will cause the from to be from [EMAIL PROTECTED] instead of from
[EMAIL PROTECTED]
Regards,
Emmett
Hi Emmett,
Thanks this works. I already tried this on my local machine and it didn't work
but it does work on the webserver so
Hi everyone,
I'm working on a mailform and it's kind of working but I still have 2
problems:
1) I can't get the From header right, when I receive the test mail the sender
is apache
2) The BCC headers (there's more then one) are not stripped.
Here's my script:
/* haal de gegevens op
Hi,
I hope this is not too off topic but I have a problem when I use mail().
When I add the header Content-Type: text/plain; charset=UTF-8 the body
of the mail is encoded fine but the subject is not encoded. I've tried
to utf8_encode() and utf8_decode() the subject text but neither helps.
# [EMAIL PROTECTED] / 2006-10-16 14:32:12 +0200:
I hope this is not too off topic but I have a problem when I use mail().
When I add the header Content-Type: text/plain; charset=UTF-8 the body
of the mail is encoded fine but the subject is not encoded. I've tried
to utf8_encode() and
Is there anyway to setup a mail delivery with mail() or phpmailer?
I send out a mass mail and some get returned but there is no message who
they are being returned from.
usually you get something like.
This message was created automatically by mail delivery software.
A message that you
On Fri, October 6, 2006 6:18 am, Ross wrote:
Is there anyway to setup a mail delivery with mail() or phpmailer?
I send out a mass mail and some get returned but there is no message
who
they are being returned from.
usually you get something like.
This message was created
I have an issue with sending email via PHP which may be a configuration problem
with either PHP, Apache, or possibly a Sendmail, but I don't know which yet. I
figured I'd start here first.
Here's the situation. I have several webpages that send email to users for
various reasons. We have
Why not validate the email address before you send. I use something
like this to kick back an error that says you put in a bad email
address. It won't tell you about a wrong email address, but it will
tell you if they forgot to put in the @ sign and stuff.
if
301 - 400 of 1690 matches
Mail list logo