that one...:-)
-Original Message-
From: M.A.Bond [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:31 AM
To: 'sysadmin'; 'sven'; php-general
Subject: RE: [PHP] Mail From option in PHP.ini
I take it you've also tried setting Reply-To: ??
Same format as From:
Mark
GREAT!!! I guess I need to RTFM...:-) Thanks again for all your help
everyone!
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:38 AM
To: [EMAIL PROTECTED]; 'M.A.Bond'; 'sven'; 'php-general'
Subject: RE: [PHP] Mail From option in PHP.ini
From
Hi there!
As I explained yesterday I am developing a group of
pages to let users send mails from them. For that I am
using the mail() function.
The problem I face is that the addresses I write at
the BCC field receive mails twice (not the one at the
To: field, just the ones at the BCC:).
It
Hi,
I've made a script that loops through a MySQL database and sends a message
to all users with an email address on file. My client is now not certain
if all their email addresses are accurate and would like to know which ones
are and which ones are not.
Is there a way, using mail() to tell
mail() returns true if the email delivery worked, false if it failed.
However, occasionally the email delivery will work, but will fail at a
later stage (a delivery failed message will be returned to the sender)
- you can check for this by having a script check the mailbox that was
sent from,
i know that in mail-form i need input type=file name=attach
but i don't know how to write message headers to send file with e-mail.
please help me.
szparag.
IncrediMail - Email has finally evolved - Click Here
Use this class:
http://www.phpclasses.org/mimemessage
szparag wrote:
i know that in mail-form i need input type=file name=attach
but i don't know how to write message headers to send file with e-mail.
please help me.
szparag.
--
PHP General Mailing List (http://www.php.net/)
To
this worked for me but i did some editing and censoring oso maybe a tiny
bug got in.
///SETUP strings
$subject='hi there, this is not a Viagra business proposal, ';
$mailto = '[EMAIL PROTECTED],[EMAIL PROTECTED]';// for multiple recipients, use
comma '[EMAIL PROTECTED],[EMAIL
Ok, I have an interesting one here. I'm trying to send an e-mail from
Server A, through Server B, and to a recipient using PHP on Server A.
Server B relays the e-mail because Server A does not have an internet
connection. Now, I want to request a read/delivery receipt for the user
sending the
/[EMAIL PROTECTED]
WIDTH=1 HEIGHT=1 BORDER=0
-Original Message-
From: Brian S. Drexler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 11:19 AM
To: 'Ralph Guzman'
Subject: RE: [PHP] Mail Header/Return Receipt
That is a good idea. I can tell them it has at least been sent from our
Is anyone familiar with the mail function and how it works on the server? I
can't get it to work on a client's server, and this error shows up in the
error log:
PHP Warning: U1Àå]Ãö¼': Unable to initialize module
Module compiled with debug=144, thread-safety=135 module API=1119810252
PHP
Yeah, umm, thats a weird error message.
What server platform / OS?
On Mon, 2003-07-07 at 12:58, Mike At Spy wrote:
Is anyone familiar with the mail function and how it works on the server? I
can't get it to work on a client's server, and this error shows up in the
error log:
PHP Warning:
To: Mike At Spy
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] mail() function
Yeah, umm, thats a weird error message.
What server platform / OS?
On Mon, 2003-07-07 at 12:58, Mike At Spy wrote:
Is anyone familiar with the mail function and how it works on
the server? I
can't get
PROTECTED]
Sent: Monday, July 07, 2003 1:57 PM
To: [EMAIL PROTECTED]; Mike At Spy
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] mail() function
I can't tell what the version is, but I can tell you that the kernel is:
2.4.7-10
Maybe it has something to do with what identity php or sendmail is running
Can you run a regular phpinfo() command?
-Original Message-
From: Mike At Spy [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 1:57 PM
To: [EMAIL PROTECTED]; Mike At Spy
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] mail() function
I can't tell what the version is, but I can tell you
-
From: Brian S. Drexler [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 2:06 PM
To: 'Mike At Spy'
Subject: RE: [PHP] mail() function
I assume you are running this on the command line. Does the file
have the correct permissions?
-Original Message-
From: Mike At Spy
They have it set to Show all errors except for notices.
-Mike
-Original Message-
From: Brian S. Drexler [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 2:18 PM
To: 'Mike At Spy'
Subject: RE: [PHP] mail() function
Ok, so if it is a command line issue it's not the problem
On Saturday 05 July 2003 02:57, Phil Dowson wrote:
Could someone let me know if it is possible to pass a resultset of a query
to a single variable so it can be included as the message part of the mail
function?
Short answer: yes
Long answer: what exactly are you trying to do and what exactly
Could someone let me know if it is possible to pass a resultset of a query
to a single variable so it can be included as the message part of the mail
function?
if I were you I would try something like...
?php
$result = mysql_query($query);
$email = NULL; // it's bad form to dot without
Perfect solution. Thanks!!!
- Original Message -
From: Dan Anderson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 4:30 am
Subject: Re: [PHP] mail()
Could someone let me know if it is possible to pass a resultset of a
query
to a single variable so it can
Hi,
Could someone let me know if it is possible to pass a resultset of a query
to a single variable so it can be included as the message part of the mail
function?
Thanks!
Phil Dowson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Shivanischal A [EMAIL PROTECTED] wrote:
Hi friends,
I was just wondering about this. Whenver we reply to the posts here, we just
click on the reply button and fire off our messages. This results in long
messages (fresh content + earlier content) within a single mail. Now, the
question
It has sendmail installed but you need to look into activating it as it is
not enabled by default (I don't know how off the bat, but google should
help)
Hope this helps
On 07/02/03 11:07 PM, Justin French [EMAIL PROTECTED] wrote:
Hi all,
I've googled, but to no avail... I have apache 1.3.x,
Hi friends,
I was just wondering about this. Whenver we reply to the posts here, we just
click on the reply button and fire off our messages. This results in long
messages (fresh content + earlier content) within a single mail. Now, the
question is how would we use the regex functions to remove
Excellent -- found it straight away!
http://www.roadstead.com/weblog/Tutorials/SMSource.html
Thx
Justin
On Thursday, July 3, 2003, at 02:12 PM, Michael Mulligan wrote:
It has sendmail installed but you need to look into activating it as
it is
not enabled by default (I don't know how off the
Hello Everybody,
I don't have sendmail/qmail on my web server where i
installed PHP. But I want to send mails from web
server using PHP.
Can anybody tell me, how can i use another SMTP server
to send mails? I don't like to change php.ini on my
web server.
Thank You,
- Chinmoy
Hi there!
I have a weired problem with a 4.12 php version on win2k.
When i mail more then one email i often have the problem that the mail
reaches their recipient but the subject and from does not work properly,
instead this
is on top of the email. but strangely sometimes it just works normal.
Hello,
This is a reply to an e-mail that you wrote on Fri, 20 Jun 2003 at 16:40,
lines prefixed by '' were originally written by you.
Hi there!
I have a weired problem with a 4.12 php version on win2k.
When i mail more then one email i often have the problem that the mail
reaches their
Hello,
This is a reply to an e-mail that you wrote on Fri, 20 Jun 2003 at 17:44,
lines prefixed by '' were originally written by you.
Hi!
I guess i do not make any weired things, the configuration looks like
this:
mail($mail,
$message,
From: [EMAIL PROTECTED][EMAIL PROTECTED]);
Hi Don,
?php
$cmd='/bin/sh -c set';
passthru($cmd);
echo 'P';
putenv(REMOTE_ADDR=$REMOTE_ADDR);
passthru($cmd);
echo 'P';
?
This code will work, but I want to be able to enforce it on people that use
the mail() function.
I want php to call sendmail (The one from php.ini that is)
On 10-Jun-2003 Maikel Verheijen wrote:
snip
Unfortunately php does NOT pass on these environment variabeles to the
program that gets called as the mail-program (In my case my
mini-sendmail).
This renders this little spamfinder trick unusable, which is too bad :(
If someone has a
Good Morning,
Hopefully I'm not asking questions that are too basic. I am new to this list
and new to PHP. If my questions are too basic please let me know and I'll
direct them elsewhere.
I'm at a very basic level with PHP. I'm working with form data and sending
the information out in
Got it! Thanks...
-Original Message-
From: gregory landry [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 14, 2003 6:23 AM
To: PHP Mail List
Subject: [PHP] Mail() and html
Good Morning,
Hopefully I'm not asking questions that are too basic. I am new to this list
and new to PHP. If my
Hi list,
Has anyone ever tried to use REMOTE_ADDR to be sent along with emails sent
from php-scripts that use the mail() function?
I have built a small auto-relaying sendmail (crudely based on mini-sendmail,
http://www.acme.com/software/mini_sendmail/) that adds a received header
containing the
I know that if you use sendmail to perform your mailings in php that the
sender shows up as the user and group for Apache. Now is there a way to make
the mail command display a different user in the from field? I know that I
could change the user/group for Apache to fix it, but is there a setting
You can add extra info into the appropriate fields like so.
mail([EMAIL PROTECTED], the subject, $message,
From: [EMAIL PROTECTED],[EMAIL PROTECTED]);
However, your local sendmail might restrict this behavoir of changing the
sender identity. Mine simply complaines about it in the mail
Hi php-general,
a friend of mine is trying to set up an automated mailing function.
The platform is Windows he's using the last PHP release at this
time.
He asks me how to do it with Exchange, because it doesn't speak SMTP
or not correctly? What is the matter? Is that true? But that's not
really
Alright with the following code I am using is printing/echoing to the
browser a 1 before the html output. It's like it's adding 2 variables
together.
Here is what I am trying to do. I have a form that enters information to a
text file, and at the same time sends the information to a predetermined
Alright with the following code I am using is printing/echoing to the
browser a 1 before the html output. It's like it's adding 2
variables
together.
Here is what I am trying to do. I have a form that enters information
to a
text file, and at the same time sends the information to a
I have a text box on a web page and submit button. The php code sends the
text as an email. If the text includes an inverted comma/apostrophe the
email will include a backslash before it, thus: \'. I know how to
str_replace in php, but what do I need to replace the apostrophe with to
avoid the
Umm, try this:
$body = str_replace('\'','#39;',stripslashes($_POST['message']));
mail($to,$subject,$body,Content-type:text/html\r\n);
On Mon, 2003-06-02 at 11:12, Dillon, John wrote:
I have a text box on a web page and submit button. The php code sends the
text as an email. If the text
Hi there,
I think you need to check magic quotes setting under
php.ini. I guess it should be on. Try to make it off
and try your mail function.
Thanks
Hardik Doshi
--- Dillon, John [EMAIL PROTECTED] wrote:
I have a text box on a web page and submit button.
The php code sends the
text as an
You have magic_quotes on, with this setting php runs addslashes() on
every $_REQUEST variable (so you can use them in sql queries right
away). So you need to use stripslashes() before sending it as mail.
Dillon, John wrote:
I have a text box on a web page and submit button. The php code sends
Just wanted to pass a little warning on to the list. I sent a reply to
David McGlone ([EMAIL PROTECTED]) and my email got forwarded to an
address at Bonzi.com. I'm not sure if they're using list replies to harvest
email addresses or not, but I'll definitely be watching my in-box.
From:
changing the value in the php.ini file is not the ideal option, as it
screws things up for all of users/scripts on the server.
you could use ini_set() for the script to change the sendmail_path var
for that script.
you could use a mail class that does alot of the grunt work for you
(Manuel Lemos
I've come a long way with many google searches an I almost have this
working, so have mercy!!!
So what am I missing here?
I'm doing a Mail_mime class smtp mail from php using PEAR. It needs to
have text and html versions which is why I'm using this. It is sending
out the email OK, but when I
Hello,
On 05/30/2003 02:28 AM, Jim McNeely wrote:
I've come a long way with many google searches an I almost have this
working, so have mercy!!!
So what am I missing here?
I'm doing a Mail_mime class smtp mail from php using PEAR. It needs to
have text and html versions which is why I'm using
Hi, I have a problem with the mail function; it always sends mails
assuming in the from field the user [EMAIL PROTECTED].
I tried to override it with this code:
?
$email = [EMAIL PROTECTED];
$subject = prova invio mail ;
$message = parappaaa ;
$headers = From:[EMAIL
Bersani Francesco wrote:
Hi, I have a problem with the mail function; it always sends mails
assuming in the from field the user [EMAIL PROTECTED].
I tried to override it with this code:
?
$email = [EMAIL PROTECTED];
$subject = prova invio mail ;
$message = parappaaa ;
I don't believe you can use the form of Someone [EMAIL PROTECTED].
I believe this is what the MTA receives as the MAIL TO (not to be
confused with eth To: header), and it's not a legal format for that.
--- Rosen [EMAIL PROTECTED] wrote:
Hi,
I'm using PHP 4.3.1 on Win98 and I have a problem with
I am trying to format the mail header that will be send by mail().
One thing that I noticed was it only accept for the first no. of lines
or
charracters (???) See sample 1 2.
Is this a php problem (4.2.2) or has something to do the mailer ???
This script is working on (4.2.1) but is in
John, et al --
One more nit to add to this...
...and then CPT John W. Holmes said...
%
...
%
% You can do it like this:
%
% $headers = From: [EMAIL PROTECTED]: [EMAIL PROTECTED]:
% [EMAIL PROTECTED];
Yes, figuring that the added line break is just because of a dumb mail
program :-0
%
% or
The use of the standard mail(...) function is just not working and I
would really appreciate some patient soul's time to access:
http://www.up.net/~jolove/PHP/EMail/EmailPHP.phps
and look at the code ... it really is very short ...
The function send() returns success, yet my mail client,
How can send bcc: with mail()?
--
Programmers are tools for convert coffeine into code... (c) Oden
_
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--
PHP General
$mail-BCC( [EMAIL PROTECTED] );
- Original Message -
From: Oden Odenius [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail()?
--
Programmers are tools for convert coffeine into code... (c) Oden
- Original Message -
From: Oden Odenius [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 1:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail()?
--
Programmers are tools for convert coffeine into code... (c) Oden
From, CC and BCC are headers
Not everyone has whatever class you seem to be using...
Bryan Brannigan wrote:
$mail-BCC( [EMAIL PROTECTED] );
- Original Message -
From: Oden Odenius [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail
From: Oden Odenius [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail()?
- Original Message -
From: Bryan Brannigan [EMAIL PROTECTED]
To: Oden Odenius [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent
How can send bcc: with mail()?
From, CC and BCC are headers to be set in the fourth parameter of the
mail()
function. Headers must be spearated by end-of-line characters.
$headers = From: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
BCC: [EMAIL PROTECTED];
mail($to, $subject, $body,
- Original Message -
From: CPT John W. Holmes [EMAIL PROTECTED]
To: Kevin Stone [EMAIL PROTECTED]; Oden Odenius
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:51 PM
Subject: Re: [PHP] mail() Bcc:
How can send bcc: with mail()?
From, CC and BCC are headers
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 4:17 PM
Subject: Re: [PHP] mail() Bcc:
- Original Message -
From: CPT John W. Holmes [EMAIL PROTECTED]
To: Kevin Stone [EMAIL PROTECTED]; Oden Odenius
[EMAIL
At 23:51 24.03.2003, CPT John W. Holmes said:
[snip]
If I'm wrong, someone please let me know, but some servers may only accept
Bcc: instead of bcc: or BCC:, etc... ?? Does anyone know if that matters? If
it does, is it only dependant upon the sending SMTP
The use of the standard mail(...) function is just not working and I
would really appreciate some patient soul's time to access:
http://www.up.net/~jolove/PHP/EMail/EmailPHP.php
and look at the code ... it really is very short ...
The function send() returns success, yet my mail client,
Hello John,
Please make a copy of the file with a .phps or .txt extension so the
code is not parsed by PHP.
Thanks,
Jason
John Love wrote:
The use of the standard mail(...) function is just not working and I
would really appreciate some patient soul's time to access:
Hi
I have a problem whith the mail() function.
I have used this function several times, but to day it don't work..
I use it like this:
mail( $to, $subjekt, $body, $from );
and i got this warning:
Warning: Failed to Connect in \\HQ-ADMIN\mail.php on line 237
Fred
--
PHP
Stephen wrote:
I am trying to get mail working with my php setup. I have an exchange
server that I want to send mail to but I get the error
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to
relay for [EMAIL PROTECTED] in
I have setup SMTP = my server address and
I'm not sure why, but I get an attachment when sending out a mail with the following
(see below). Well, I shouldn't say an attachment, but in Outlook I get that little
paperclip, saying there is an attachment. But when I go to open the attachment, there
is nothing there.I'm trying to send it to
At 23:24 18-3-2003, you wrote:
I'm not sure why, but I get an attachment when sending out a mail with the
following (see below). Well, I shouldn't say an attachment, but in Outlook
I get that little paperclip, saying there is an attachment. But when I go
to open the attachment, there is nothing
It may be that the mail receiver expects some content after you put this
in
the header:
Content-Type: text/ascii; charset=iso-8859-1\n
If you're sending plain text, and no special (read: non-western)
characters, i don't think you need that part.
That was the fix. Yer a goldmine.
On Tue, 18 Mar 2003 23:19:08 +0100, Chris Hayes wrote about Re: [PHP]
Mail attachment what the universal translator turned into this:
It may be that the mail receiver expects some content after you put this in
the header:
Content-Type: text/ascii; charset=iso-8859-1\n
If you're sending
Manuel Glauser wrote:
This weekend, I've been fighting with some really weird problem though... I installed a few mail(); actions on my website plus in some projects I'm working on. I have one really big problem though... Everything works fine until I want to send a mail to another mailserver
Hi
I am trying to get mail working with my php setup. I have an exchange
server that I want to send mail to but I get the error
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to
relay for [EMAIL PROTECTED] in
I have setup SMTP = my server address and sendmail_from to
Hey you guys!
First, I have to say, that php.net gave me a lot of support in the last few weeks and
months. It's been great to suck information from your guys' website! Thanx a lot!
This weekend, I've been fighting with some really weird problem though... I installed
a few mail(); actions on
Hello friends,
Can the mail() function send emails to multiple addresses which are formatted as
follows :
[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] etc with a comma or a semicolon
between them?
Thanks
Denis
Hello,
I want to use the mail() in my Linux computer.But I don't know how to
set the php.ini file to enable it.I am using the SMTP server provided by
ISP. Do I need to setup my own mail server?
Thanks!
Terry
_
¤µ¤é¬P®y
How exactly would I go about fixing my current php/sendmail setup so that it
uses the value specified in my php input form in the
from box instead of always setting the email from address as :
[EMAIL PROTECTED] ???
Any help would be greatly appreciated. Thanks!
--
PHP General Mailing List
Hi all,
are there any restrictions for mail function, when I use Bcc? how
many email adresses can i put in Bcc, are there any PHP
restriction, or just memory restriction, or something else?
Thanx a lot
Mirza
[EMAIL PROTECTED]
--
PHP General Mailing List
Does anyone have any idea of why I may be getting this error, when my
scripts ran perfectly fine before (i don't know what). Is there some kind of
setting in my mail program that may have changed? I'm using Outlook with
Exchange Server.
Warning: Failed to Connect in d:\apache\htdocs/emailtest.php
: Re: [PHP] Mail (), BBC: recipients not receiving my Newsletter
What about using a ';' semicolon seperated list.
Ricardo Fitzgerald wrote:
Hi to all,
I wrote a small form which dumps data to a php script that uses mail
()
to send an html newsletter, so far is working except
that it's
: Re: [PHP] Mail (), BBC: recipients not receiving my Newsletter
What about using a ';' semicolon seperated list.
Ricardo Fitzgerald wrote:
Hi to all,
I wrote a small form which dumps data to a php script that uses mail
()
to send an html newsletter, so far is working except
that it's
Hi to all,
I wrote a small form which dumps data to a php script that uses mail ()
to send an html newsletter, so far is working except
that it's not sending to BCC: headers, in my form I have a field to
enter a comma delimited email list, after submiting the form this list
is stored under one
opened
for us. - Alexander Graham Bell
From: Ricardo Fitzgerald [EMAIL PROTECTED]
Date: Wed, 26 Feb 2003 17:40:25 -0500
To: [EMAIL PROTECTED]
Subject: [PHP] Mail (), BBC: recipients not receiving my Newsletter
Hi to all,
I wrote a small form which dumps data to a php script that uses mail
What about using a ';' semicolon seperated list.
Ricardo Fitzgerald wrote:
Hi to all,
I wrote a small form which dumps data to a php script that uses mail ()
to send an html newsletter, so far is working except
that it's not sending to BCC: headers, in my form I have a field to
enter a comma
Im having some more error checking issues :)
This time its with sending email using php.
Im absolutely sure that the email address is correct and that my IMAP module
is enabled for
php as I successfully read emails from my ISP. But when I sent an email
with:
mail($to, $subject, $body, $headers)
I am unable to send emails, and there are no errors being generated or
populated in the $php_errormsg variable, since I enabled track errors in the
php.ini. So I have no idea why the mail send is failing. Am I supposed to
specify
a mail server to use for sending mail? My sendmail was setup
Hiya fellas
I'm doing the test on sending emails and what I found is that I haven't
got these two to to work which is Return-Path: and Error-To: Does
anyone know why does it not work??? Here's my sample codes
--clip--
$Header = From: [EMAIL PROTECTED]\r\n;
$Header
IS there a way to tell php to use a remote smtp daemon for its mta under
UNIX. I see in the example it looks like windows can be configured to use
a remote smtp. If so what is the syntax.
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
;
On Tuesday 18 February 2003 01:44, Robin Mordasiewicz wrote:
IS there a way to tell php to use a remote smtp daemon for its mta under
UNIX. I see in the example it looks like windows can be configured to use
a remote smtp. If so what is the syntax.
[mail function]
; For Win32 only.
SMTP =
When I try to use a php script, to send an email, the From header is
replaced by a senders email address of my provider. Is there any way to make
it so my email address shows up in the From header?
In the script I used fake addresses, because of client privacy reasons...
?
$email = [EMAIL
is it possible to do something like mail([EMAIL PROTECTED],subject,hello
if($a){ return andreas; });
or what would be the best solution for this ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 14 February 2003 18:53, Jonas Geiregat wrote:
is it possible to do something like mail([EMAIL PROTECTED],subject,hello
if($a){ return andreas; });
or what would be the best solution for this ?
Try it.
I would prefer:
if ($a) {
$name = 'andreas'; }
else {
$name = '';
}
Marco Alting [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
When I try to use a php script, to send an email, the From header is
replaced by a senders email address of my provider. Is there any way to
make
it so my email address shows up in the From header?
In
Marco Alting [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
When I try to use a php script, to send an email, the From header is
replaced by a senders email address of my provider. Is there any way to
make
it so my email address shows up in the From header?
Try:
mail('[EMAIL PROTECTED]','subject','hello '.($a ? 'andreas'));
Jonas Geiregat wrote:
is it possible to do something like mail([EMAIL PROTECTED],subject,hello
if($a){ return andreas; });
or what would be the best solution for this ?
--
The above message is encrypted with double rot13
Hi Everyone
The webserver is a Unix machine. I don't want to send the email from the
Unix machine, I want to do that from Window. So, if I configure hte php.ini
to find the MS-Exchange on Window and use it to send the email while the
webpage is on the Unix webserver, such as form fill out
On Wednesday 12 February 2003 02:12, Scott Fletcher wrote:
The webserver is a Unix machine. I don't want to send the email from the
Unix machine, I want to do that from Window. So, if I configure hte
php.ini to find the MS-Exchange on Window and use it to send the email
while the webpage is
Someone send me an email to take a look at this
URLhttp://www.php.net/manual/fi/ref.imap.php .
The send mail on Unix is too basic, not like MS-Exchange... I need things
like file attachment, Bcc, cc, etc Also, it is too slow because the
machine have problem with DNS while many Windows
be done with sendmail. Bcc and cc can be done with just
adding extra header. In the php mail() function, it's the last argument IIRC.
There are a lot of classes out there that will allow you to put attachment
using the mail() function. Basically you only need the correct MIME-encoding
and stuff
On Wednesday 12 February 2003 03:19, Scott Fletcher wrote:
The send mail on Unix is too basic, not like MS-Exchange... I need things
like file attachment, Bcc, cc, etc
I think you're missing the point somewhere. sendmail (in fact any MTA) will do
all that.
Also, it is too slow
...
All of those can be done with sendmail. Bcc and cc can be done with just
adding extra header. In the php mail() function, it's the last argument
IIRC.
There are a lot of classes out there that will allow you to put attachment
using the mail() function. Basically you only need the correct MIME-
901 - 1000 of 1690 matches
Mail list logo