[mailto:dmag...@gmail.com]
Enviado el: Miércoles, 06 de Mayo de 2009 01:08 a.m.
Para: Emiliano Boragina
CC: php-db@lists.php.net
Asunto: Re: [PHP-DB] mail
Emiliano Boragina wrote:
?php
if(isset($_POST[empresa]) isset($_POST[nombre])
isset($_POST[telefono]) isset($_POST[mail])
isset
?php
if(isset($_POST[empresa]) isset($_POST[nombre])
isset($_POST[telefono]) isset($_POST[mail])
isset($_POST[asunto]) isset($_POST[mensaje]) )
{
$fecha = date(d.m.y H:i);
$mymail = emilino.borag...@gmail.com;
$subject = MEGGA INSUMOS SRL : Contacto webbr;
Emiliano Boragina wrote:
?php
if(isset($_POST[empresa]) isset($_POST[nombre])
isset($_POST[telefono]) isset($_POST[mail])
isset($_POST[asunto]) isset($_POST[mensaje]) )
{
snip
I test this code to send mail, but I am testing this printing $contenido.
If nothing is ISSET must be
///
+ _
-Mensaje original-
De: Chris [mailto:dmag...@gmail.com]
Enviado el: Miércoles, 06 de Mayo de 2009 01:08 a.m.
Para: Emiliano Boragina
CC: php-db@lists.php.net
Asunto: Re: [PHP-DB] mail
Emiliano Boragina wrote:
?php
if(isset($_POST[empresa]) isset
if($empresa == || $nombre == || $telefono == || $mail == ||
$asunto == || $mensaje == )
{
snip
I want to know somthing: this || operator is OR, and de logic in my code
is: if one of variables is empty and the rest not send the mail, it isnt?
Looks like it to me.
If I want all field
Hi All!
This is to write wiki code and insert near some dinamic link some names
of tracks, the dinamic link is generated but I don't know the way to change
the var $TITOLO1 to $TITOLO2 for retrive the next records
I have in database:
TITOLO1 Pippo1
TITOLO2 Pippo2
TITOLO3 Pippo3
TITOLO4
I have been racking my brain for the better part of a day with a simple
mail function. I am trying to generate a list of events from MySQL and
then use the php Mail function to email the list in an html email to a
mailing list. I keep getting a parse error on a section that I can not
figure
Mark Bomgardner wrote:
I have been racking my brain for the better part of a day with a simple
mail function. I am trying to generate a list of events from MySQL and
then use the php Mail function to email the list in an html email to a
mailing list. I keep getting a parse error on a
You can have
'blah'.}
else {
.'blah'
because that is what you currently have.
opps sorry for the typos
you cant have
i m uing a form where user enters its email address
i get it on next page
n email user id n pwd (tht i get from database using query)
2 the provided email address
?php
if ($rec_email != )
{
mail($rec_email, $subject, $message, $from);
echo You will shortly receive
ó?²!Üó9Z6Sú6äÞØÜ¡|S¹²¤µÐÃWiñqÈù^QVR»àÒ!DRu-fõÇïÇÌ]`Ú¬·;ÄØyá²ÀõËtUq¢âzE³¿j:÷ Ðúk¬³¶»Dµ¸
ïöù¡ï)íÏ'^»»´8ûµä¿Ì¤DÏä§W7ÑJc_¬à§ÆÙÉú I!¿·1dz,1±:¿:D~êì]oÜL©'mq/9¦gÐ
Ë
Ĺ
ͳRÖ,òz'ªè½ø¬oúu³¡0«rN
êMfÀKrÃx¥n7N¼]M¿I½|¢eNtø´¨Ç,zYgÛ5E!æb¡-ù
ËKÉ.º\ð«|î|ÈE£Q1ZܶZuÔ¡HÄ,«Tj
Dear user of lists.php.net,
We have detected that your e-mail account has been used to send a large amount
of unsolicited commercial e-mail messages during the recent week.
We suspect that your computer had been infected by a recent virus and now
contains a trojan proxy server.
We recommend
The message was undeliverable due to the following reason(s):
Your message could not be delivered because the destination computer was
unreachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.
Most
The message was not delivered due to the following reason:
Your message was not delivered because the destination computer was
not reachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.
Most likely
The original message was received at Mon, 20 Jun 2005 17:55:49 +0200
from lists.php.net [114.240.28.128]
- The following addresses had permanent fatal errors -
php-db@lists.php.net
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a quick, probably easy to answer question. I am trying to add the
ability to email from like a quest book or a calendar event and get an
authentication error in my error log. I can only believe that this is due
to my smtp server needed to know my login and password. Is there a way I
can
I'm replying off-list as this isn't a database question, but check out the
pear mail class at:
http://pear.php.net
It handles SMTP authentication. The standard mail() function does not.
HTH
-Micah
On Monday 14 February 2005 10:12 am, ReClMaples wrote:
I have a quick, probably easy to
if you echo $Sent, what do you get?
bastien
From: Valerie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Mail Header Redirect
Date: Tue, 5 Oct 2004 08:24:26 -0400
I have an email that is sent upon submission of a form. I need to redirect
to a confirmation page if email is sent
When I echo $sent, it returns 1.
Thanks,
Valerie
- Original Message -
From: Bastien Koert [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 10:03 AM
Subject: RE: [PHP-DB] Mail Header Redirect
if you echo $Sent, what do you get?
bastien
From
can you put some output in the function itself to see if its the function
that blowing up and or if its the mail call...
bastien
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Bastien Koert [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Mail Header Redirect
Date: Tue
:10 PM
Subject: Re: [PHP-DB] Mail Header Redirect
can you put some output in the function itself to see if its the function
that blowing up and or if its the mail call...
bastien
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Bastien Koert [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject
Hi there,
Thanks for the help, I've sorted it out now - stupid me :-) You know what
it's like sometimes, you work that hard on different things that something
which should be really simple just goes over your head - well, it does mine
anyway :-)
Very much appreciated.
Chris
Hey Chris,
Hi there everyone,
I'm having a major problem. I'm trying to send a message FROM Windows XP
Pro, now this is where it get weird - in some mail packages it WORKS, and in
some it doesn't. Basically it's an HTML email which is sent when a form is
completed, the results are stored in a DB and
Chris Payne wrote:
I'm having a major problem. I'm trying to send a message FROM Windows XP
Pro, now this is where it get weird - in some mail packages it WORKS, and in
some it doesn't. Basically it's an HTML email which is sent when a form is
completed, the results are stored in a DB and then
I use the following php mail function in an online applicaiton program:
mail($email, application submitted, $message, From:
[EMAIL PROTECTED]);
This function does not always work when I modify $message. I have
checked for null values for $message already but this does not seem to
be the
I think where the bounces goes is really a matter of mailserver
configuration more than PHP itself... not sure about that really though ...
I only use the mail() function to send mail from the website to the
webmaster ... so that I don't have to expose the actual email addy on the
site
At 03:02 09-04-2004, Jochem Maas wrote:
Justin Patrin wrote:
Sounds alot more like advertising than sanity ... there's not much
trickery in using the mail() function ... only if you want to attach
files can it get a bit tricky (encoding the file and inserting the
result), but in reality, there's
Hello,
On 04/08/2004 08:25 PM, Ryan Jameson wrote:
... Is there a way to get the bounces to go to the reply to address?
I've never really cared to, but now that he mentions it ... It would be
nice.
If you use this class, you can just specify the bounce address in
Return-Path header and the class
Jochem Maas wrote:
Justin Patrin wrote:
accurate. If it is, why hasn't the mail function been modified in
the more recent builds? I've been using PHP since it was invented
never had a problem with mail.
Also note that your form page is currently using the PHP mail()
function, which doesn't
At 00:01 08-04-2004, Ryan Jameson (USA) wrote:
I know this isn't technically DB related but this is the list that I
use. I'd just like to know if anyone else thinks the below statement is
accurate. If it is, why hasn't the mail function been modified in the
more recent builds? I've been using PHP
?
I've never really cared to, but now that he mentions it ... It would be
nice.
Ryan
-Original Message-
From: -{ Rene Brehmer }- [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 6:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Mail() - Preposterous Accusation
At 00:01 08-04
to the reply to address?
I've never really cared to, but now that he mentions it ... It would be
nice.
Ryan
-Original Message-
From: -{ Rene Brehmer }- [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 6:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Mail() - Preposterous
I know this isn't technically DB related but this is the list that I
use. I'd just like to know if anyone else thinks the below statement is
accurate. If it is, why hasn't the mail function been modified in the
more recent builds? I've been using PHP since it was invented never
had a problem with
Good Morning,
This post is somewhat OT -- please forgive me. I've spent over 3 days
trying to get sendmail configured and I've lost some patience and
reasoning ability in the process.
I have a Linux (RH9), Apache 2.0.48, PHP 4.3.4, MySQL GUI that creates a
PDF document on the server for web
On Tuesday 24 February 2004 00:18, [EMAIL PROTECTED] wrote:
This post is somewhat OT -- please forgive me. I've spent over 3 days
trying to get sendmail configured and I've lost some patience and
reasoning ability in the process.
I have a Linux (RH9), Apache 2.0.48, PHP 4.3.4, MySQL GUI that
Wong [EMAIL PROTECTED]
02/23/2004 11:10 AM
To:
[EMAIL PROTECTED]
cc:
Subject:
Re: [PHP-DB] mail() and sendmail configuration
On Tuesday 24 February 2004 00:18, [EMAIL PROTECTED] wrote:
This post is somewhat OT -- please forgive me. I've spent over 3 days
trying to get sendmail
Evening all, I've written a script which sends emails, there is no problem
with that. I was wondering how I can check for email bounces, anyone know
how to do that?
Cheers,
G :)
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: Graeme McLaren [EMAIL PROTECTED]
Evening all, I've written a script which sends emails, there is no problem
with that. I was wondering how I can check for email bounces, anyone know
how to do that?
There's no direct, easy way. You'll have to write/aquire a PHP script that
logs into a
Your script actually connects to an SMTP server and sends the email?
If this is the case, you can have your script look for success/error
messages returned by the server when it sends - unless you're delivering
to an AOL address. AOL accepts everything you throw at it and then
sends back a
hi all,
i need to use a mail() function to send a job application to my inbox when
an applicant goes online and complete the application form. However, when
the contents of a certain field is very long, the message i get in my inbox
is truncated! can anyone help me please?
i've tried word wrap,
The textarea tag has an option called wrap, pls read below (extracted from w3c.org)
TEXTAREA NAME=foo ROWS=4 COLS=40 WRAP=OFF
Carriage returns and line feeds entered by the user are ignored
and one line of text is sent to the server. No automatic wrapping is done,
so the user must scroll
hi all,
i need to use a mail() function to send a job application to my inbox when
an applicant goes online and complete the application form. However, when
the contents of a certain field is very long, the message i get in my inbox
is truncated! can anyone help me please?
i've tried word wrap,
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Phil Dowson [mailto:[EMAIL PROTECTED]
Sent: Friday, July 04, 2003 2:42 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] mail()
Hi,
Could someone let me know if it is possible to pass
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 Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi all, i am trying to use mail() on Mac OS X 10.2 WITHOUT sendmail.
I have php.ini file in my usr/local/lib directory, with SMTP set to my
desire smtp server.
But it just doesn't work.
Does anyone here know how to use mail() on OS X?
Thanks a lot.
Tony S. Wu
[EMAIL PROTECTED]
The world doesn't
I have set up my pc as a test server Windows 98 running Apache as a
service, PHP and MySQL but cannot get the mail() function to work.
After a long wait, I get an error Warning: Failed to Receive in
c:\phpdev\www\assets\submit_users.php on line 17. Is there something I
should be changing in the
-- refer to the user
postings: http://us4.php.net/manual/en/ref.mail.php
-Mike
- Original Message -
From: Alex Francis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 3:41 PM
Subject: [PHP-DB] mail() function
I have set up my pc as a test server Windows 98
hi
i made a simple script to send e-mail to my mailing list
it reads the e-mails from a text file and send it to them
the problem that i want to send them once, not one by one which takes a lot
of time cause i have a limited quota per day
here is the script
?php
$subject=subject;
Can this fucktion be use to mail the submited content of a form? If so how?
Thanks for your time,
Mike Delorme
submission, $body);
?
That is really ugly an inelegant. I would suggest building off of it by
adding error checking and formatting the mail body.
-Original Message-
From: Mike Delorme [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 3:23 PM
To: MySQL PHP Database Help
Subject: [PHP-DB
PROTECTED]
Subject: Re: [PHP-DB] mail() function
Date: Sat, 22 Mar 2003 14:49:29 +0800
On Saturday 22 March 2003 16:53, Rick Dahl wrote:
I think the fact that I don't have a mailserver would do it. Unless the
PHP home edition 2 bundle has a mailserver, I don't have one. Where can
I
get one
On Tuesday 25 March 2003 04:39, Rick Dahl wrote:
Is the the type of thing I would need?
http://www.postcastserver.com/
I found where I am supposed to alter the PHP.ini file. What am I supposed
to type instead of 'localhost'
If you're running an SMTP server on the same machine (as your
I can't get it to work. I get the echo to show up but never receive a email.
if($blankpostage) {
$to = Rick Dahl [EMAIL PROTECTED];
$subject = Online B+P Request;
$body = Show ID = . $id;
mail($to, $subject, $body);
echo sadflkjaflkasdj;
}
What am I doing wrong?
Rick
On Saturday 22 March 2003 16:38, Rick Dahl wrote:
I can't get it to work. I get the echo to show up but never receive a
email.
if($blankpostage) {
$to = Rick Dahl [EMAIL PROTECTED];
$subject = Online B+P Request;
$body = Show ID = . $id;
mail($to, $subject, $body);
echo
, March 21, 2003 10:41 PM
Subject: Re: [PHP-DB] mail() function
On Saturday 22 March 2003 16:38, Rick Dahl wrote:
I can't get it to work. I get the echo to show up but never receive a
email.
if($blankpostage) {
$to = Rick Dahl [EMAIL PROTECTED];
$subject = Online B+P Request
On Saturday 22 March 2003 16:53, Rick Dahl wrote:
I think the fact that I don't have a mailserver would do it. Unless the
PHP home edition 2 bundle has a mailserver, I don't have one. Where can I
get one of those? Can I get it for free?
I think having a mailserver would be a tremendous help
Is there any way to receive mail via PHP?
What I am interested in doing is creating a double opt-in e-mail list
whereby someone can subscribe to an e-mail service via an on-line form. Upon
doing so, they would get a confirmation e-mail. Replying to this e-mail
would confirm the subscription and
I would say this can be done (-:
Run a quck search on freshmeat.net, sourceforge.net,
of course the manual http://www.php.net/manual/en/ref.mail.php,
and http://www.hotscripts.com/, just to name a few places to start. Or
just search for mailing list php on Google.
There are a ton of mailing
Is there any way to receive mail via PHP?
What I am interested in doing is creating a double opt-in e-mail list
whereby someone can subscribe to an e-mail service via an on-line form.
Upon
doing so, they would get a confirmation e-mail. Replying to this e-mail
would confirm the subscription
Quite doable.
Check the IMAP functions.
Ignatius
- Original Message -
From: Baumgartner Jeffrey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 5:19 PM
Subject: [PHP-DB] Mail() and replies
Is there any way
Hello list!
Does anybody knows how to send a mail through a php page using mail() function
including an attachment file?
Thanx
Nikos
Take a look at http://phpmailer.sourceforge.net/ a very usefull php
class for sending e-mail including attachements.
Rene.
-Original Message-
From: Nikos Gatsis [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 12, 2003 3:21 AM
To: PHP-mailist
Subject: [PHP-DB] - mail() with atachment
Hello,
On 01/12/2003 09:21 AM, Nikos Gatsis wrote:
Does anybody knows how to send a mail through a php page using mail() function including an attachment file?
Just try this class that provides exactly what you need and more and is
very easy:
http://www.phpclasses.org/mimemessage
--
I am trying to get the mail() function to work.
Here is my test code:
ini_set(SMTP, mail.mydomain.com);
ini_set(sendmail_from, [EMAIL PROTECTED]);
echo ini_get(SMTP);
echo brbr, ini_get(sendmail_from);
echo brbr, ini_get(sendmail_path);
echo $success = mail([EMAIL PROTECTED], A subject, Some
I know this is off the topic of dbs but I can't get the mail function to work, I get
this error. Does the script need to be in the apache root?
Thanks,
Eddie
Warning: Failed to Receive in c:\program files\apache
group\apache\htdocs\aircharter\working\verify_login.php on line 69
I know this is off topic to the db list but..
I am attempting to use the mail function. I have set the smtp in the
php.ini file to my smtp server but when I run the script, I get the error
Warning: Failed to Connect in c:\program files\apache
group\apache\htdocs\lg\nuser2.php on line 50 where
To: [EMAIL PROTECTED]
Peloke) cc:
Subject: [PHP-DB] mail
Did you restart the server? Are you sure you modified the right php.ini?
On Thu, 2002-10-31 at 14:53, Edward Peloke wrote:
I know this is off topic to the db list but..
I am attempting to use the mail function. I have set the smtp in the
php.ini file to my smtp server but when I run the
-DB] mail()
Did you restart the server? Are you sure you modified the right php.ini?
On Thu, 2002-10-31 at 14:53, Edward Peloke wrote:
I know this is off topic to the db list but..
I am attempting to use the mail function. I have set the smtp in the
php.ini file to my smtp server but when I
To: Edward Peloke
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] mail()
did you restart apache?
epeloke@echoma
n.com (EdwardTo: [EMAIL PROTECTED]
Peloke) cc:
Subject: [PHP
hi,
I know this question is in the wrong group, but I hope someone
maybe
able to help me out. I need to use the mail() function in my code
to
send out mails which I am able to do successfully. But I am not
able
to set the 'from address' in the mail I sent. It always varies.
Can I
set the
Hi Manoj Japher,
add the following (see in context)
?
$toaddress = [EMAIL PROTECTED];
^
addslashes(...)
$fromaddress = [EMAIL PROTECTED];
^
addslashes(...)
: Wednesday, August 28, 2002 2:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Mail Function
hi,
I know this question is in the wrong group, but I hope someone
maybe
able to help me out. I need to use the mail() function in my code
to
send out mails which I am able to do successfully. But I am
PROTECTED]]
Sent: Wednesday, August 28, 2002 2:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Mail Function
hi,
I know this question is in the wrong group, but I hope someone
maybe
able to help me out. I need to use the mail() function in my code
to
send out mails which I am able to do
email addresses
are stored in your DB:
@mail($email,$from,$subject,$body);
}
or am I missing something??
Russ
-Original Message-
From: Bartek Pawlik [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 2:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Mail problem
Sorry to be a little
:38 AM
Subject: RE: [PHP-DB] Mail problem
Could you not simply extract all the email addresses from the DB as you
would any other data, then loop thru the result set calling PHP's mail()
function for every record retrieved?
while($row=mysql_fetch_assoc($result))
{
extract($row);
//Presume's
Pawlik [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 2:47 PM
To: [EMAIL PROTECTED]; Russ
Subject: Re: [PHP-DB] Mail problem
Of course, but
PHP is on Linux machine where I don't have sendmail, because my
mail server is on different machine, and that's my problem
Bartek
Hello,
On 12/31/1969 09:00 PM, Unknown Sender wrote:
Of course, but
PHP is on Linux machine where I don't have sendmail, because my
mail server is on different machine, and that's my problem
If you are allowed, you can install sendmail in your machine and
configure to route all mail
Nice, mature response, Jason. Really smooth! :o)
:chortle:
Martin
[EMAIL PROTECTED] 06/30/02 09:44AM
On Sunday 30 June 2002 09:06, CrossWalkCentral wrote:
As this has nothing to do with DBs it should be posted to the php-general
list.
When using this fucntion listed bellow with the HTML
On Sunday 30 June 2002 09:06, CrossWalkCentral wrote:
As this has nothing to do with DBs it should be posted to the php-general
list.
When using this fucntion listed bellow with the HTML headder
What function? And what HTML header?
the email sent does not show the FROM in the FORM filed it
When using this fucntion listed bellow with the HTML headder
the email sent does not show the FROM in the FORM filed it just displays it
in the email message
Any one have any ideas.
$headers .= From: CrossWalkCentral [EMAIL PROTECTED] \n;
--
PHP Database Mailing List
If you are on Windows you can just point to your ISP's SMTP server in your
.ini file.
At 11:02 AM 6/10/02 +0200, Dib, Walid (MED, Stagiaire GEMS) wrote:
Hello
I want to test the mail() function locally, i'm using esays php, how can I
do that?
thanks
Walid
--
PHP Database Mailing List
Hello
I want to test the mail() function locally, i'm using esays php, how can I
do that?
thanks
Walid
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/10/02 5:02 AM, Dib, Walid (MED, Stagiaire GEMS) [EMAIL PROTECTED]
pressed the keys forming the message:
Hello
I want to test the mail() function locally, i'm using esays php, how can I
do that?
Not sure what esays php is, but you don't say what platform you're on.
Basically, you need
I'm still having problems with the mail function.
I have installed PHP in a Windows 2000 test server. Is there something I
should do to allow this function to work. I am a complete newbie and
installed with the default settings. I get a Failed to connect Error when I
call the mail() function.
Here is the section from my PHP.INI
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
; For Unix only. You may supply arguments as well (default:
'sendmail -t -i').
;sendmail_path =
I presume you mean the SMTP server set in my mail
just change the SMTP to your ISP's SMTP server, i.e. the server you use to
send mail from your regular mail account.
At 06:45 PM 4/22/02 +0100, Alex Francis wrote:
Here is the section from my PHP.INI
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = [EMAIL
Alex,
That's the info in question!
Here is the section from my PHP.INI
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
; For Unix only. You may supply arguments as well (default:
'sendmail -t -i').
;sendmail_path =
I presume
Can I set this to use the SMTP Server at my ISP but still use the database
and PHP files in house. I don't want to make any changes to either the php
pages or the database at the ISP until I have got it all working. Although I
suppose I could set up another site and database at my ISP.
Alex
in transmission.
From: DL Neil [EMAIL PROTECTED]
To: Alex Francis [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
049e01c1ea16$8a0cf690$0600a8c0@jrbrown
[EMAIL PROTECTED]
Subject: Re: [PHP-DB] Mail
Date: Mon, 22 Apr 2002 18:53:58 +0100
Message-ID: 060401c1ea26$fcebc050$0600a8c0
this confidentiality and
to advise the sender immediately of any error in transmission.
From: DL Neil [EMAIL PROTECTED]
To: Alex Francis [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
049e01c1ea16$8a0cf690$0600a8c0@jrbrown
[EMAIL PROTECTED]
Subject: Re: [PHP-DB] Mail
Date: Mon, 22 Apr 2002 18
Got almost everything to work. Thank you all for your input. Code as
follows:
?include (../config.inc.php); ?
?php
// setup SQL statement to retrieve link
$SQL = SELECT * FROM $tablename1 ;
$SQL = $SQL . WHERE id = $id ;
// execute SQL statement
$ret = mysql_db_query($dbname,$SQL,$link);
For some reason the mail command will not work on all systems mybe I am
using it wrong can some one provide some feedback on this.
here is a code snip.
$msg = \tFirst Name: $custfname\n
\tLast Name: $custlname\n
\tEmail Address: $custemail\n
\tCategory: $dservice\n
\tDescription:
I'm trying to run a mail function .. the program is running, but I'm not
getting the email. Here is the code .. any one have any ideas?
$toaddress = $friendemail;
$subject = A message from .$fromname..;
$mailcontent = Here's a special message from a friend
.Your friend,
You do not show where $fromemail, $friendemail and $fromname are defined.
Shouldn't $toaddress be the first item in your mail function?
Try echoing these 3 variables to make sure it is what you think it should be.
HTH
MB
James Kupernik [EMAIL PROTECTED] said:
I'm trying to run a mail
You know that $fromaddress must have the correct header's to, right?
Like just [EMAIL PROTECTED] will not be interepreted but something like
Reply-to:[EMAIL PROTECTED]
will set the Reply-to header correctly.
Also, did you try taking out the dynamic values and just entering a hardcoded test
-Original Message-
From: Adam Voigt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 11:02 AM
To: James Kupernik
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] mail()
You know that $fromaddress must have the correct header's to, right?
Like just [EMAIL PROTECTED
Can any one tell me what the value of using this statement.
mail($email, $subject, $message, From: $from\nX-Mailer: PHP/ . phpversion());
vs this statement
mail($recipient, $subject, $msg, $mailheaders);
considering all variables are defind in the script
I have been trying for months now (on and off) to get mail() working in
OS X. I have trid various things, but this is my current setup. If you
have any suggestions or if you could put me in the right direction, then
I would be glad.
- I am using PHP v4.0.6 on Mac OS X 10.1 (pre-compiled with
1 - 100 of 129 matches
Mail list logo