[PHP-DB] Re: sendmail

2004-08-04 Thread Aaron Todd
I dont know how to be more specific.  It just doesnt work.  There is no
error.  The program runs and sometimes it sends the email and sometimes it
doesnt.  I've looked at all the log files that I know about and havent seen
anything that looks like an email error.  Is there any other troubleshooting
that I can do to get more information on what I am doing?

Thanks,

Aaron


Manuel Lemos [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hello,

 On 08/03/2004 11:16 AM, Aaron Todd wrote:
  Is there any tweaking with mail()?
 
  I have it working, but it seems to not always send the email.  Mainly
one
  right after the other.  I filling a web form and then sending the data
off
  to my email.  But then I do a refresh to clear the form and do it again
with
  different data and it doesnt work.  Any ideals on this?

 It doesnt work is vague. What happens? Does it show any error? The
 message does not arrive?

 -- 

 Regards,
 Manuel Lemos

 PHP Classes - Free ready to use OOP components written in PHP
 http://www.phpclasses.org/

 PHP Reviews - Reviews of PHP books and other products
 http://www.phpclasses.org/reviews/

 Metastorage - Data object relational mapping layer generator
 http://www.meta-language.net/metastorage.html

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Re: sendmail

2004-08-04 Thread Jason Wong
On Wednesday 04 August 2004 20:47, Aaron Todd wrote:

 I dont know how to be more specific.  It just doesnt work.  There is no
 error.  The program runs and sometimes it sends the email and sometimes it
 doesnt.  I've looked at all the log files that I know about and havent seen
 anything that looks like an email error.  

all the log files that I know about does not tell us anything at all. Please 
state *which* log files you looked at.

 Is there any other
 troubleshooting that I can do to get more information on what I am doing?

The most useful thing to look at would be the mail logs. That would tell you 
whether a mail was injected into the queue.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
--
/*
Tact is the ability to tell a man he has an open mind when he has a
hole in his head.
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Re: sendmail

2004-08-04 Thread Pablo M. Rivas
Hello Aaron,
AT Is there any tweaking with mail()?

AT I have it working, but it seems to not always send the email.  Mainly one
AT right after the other.  I filling a web form and then sending the data off
AT to my email.  But then I do a refresh to clear the form and do it again with
AT different data and it doesnt work.  Any ideals on this?

   mmmhhh...
   
   REFRESH... maybe you are not calling your script again, and
   using a cached version of the send page...
   try this:
   ?php
  $fp=fopen(mylog.log,a);
  fwrite($fp,sending  . date(YmdHis));
  fclose($fp);
  mail()
   ?
   and look your mylog.log

AT Thanks,

AT Aaron





-- 
Best regards,
 Pablo

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: sendmail

2004-08-04 Thread Manuel Lemos
Hello,
On 08/04/2004 09:47 AM, Aaron Todd wrote:
I dont know how to be more specific.  It just doesnt work.  There is no
error.  The program runs and sometimes it sends the email and sometimes it
doesnt.  I've looked at all the log files that I know about and havent seen
anything that looks like an email error.  Is there any other troubleshooting
that I can do to get more information on what I am doing?
It is very likely that the message is being bounced to the return path 
address, which is set with the mail() 5th parameter.

If you are not sure how to do it, take a look at the examples of this 
message composing and sending class that let you set it using the 
Return-Path header:

http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] Re: sendmail

2004-08-03 Thread David Robley
On Tue, 3 Aug 2004 04:01, Aaron Todd wrote:

 So far, I have been doing ok with PHP.  I feel that I have picked it up
 rather easily.  But now I need some help.  I am trying to use the sendmail
 functions to send data entered in a form to my email address.  Currently
 its
 not working at all.  I am getting a
 
 Fatal Error:  Call to undefined function: sendmail() in
 /home/virtual/site341/fst/var/www/html/register.php on line 87
 
 I havent found very much info on the sendmail function so I was shooting
 in
 the dark with it.  I did read in the manual some stuff about seting it u
 in
 the php.ini file that just went over my head.  Can anyone enlighten me on
 this function.
 
 Thanks,
 

There are no sendmail functions in php - there is the mail() function that
should interface with whatever mta you have, if php was compiled with the
mta already installed.

Cheers
-- 
David Robley

It's as easy as 3.14159265358979323846264338327950...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: sendmail

2004-08-03 Thread Aaron Todd
Is there any tweaking with mail()?

I have it working, but it seems to not always send the email.  Mainly one
right after the other.  I filling a web form and then sending the data off
to my email.  But then I do a refresh to clear the form and do it again with
different data and it doesnt work.  Any ideals on this?

Thanks,

Aaron


Aaron Todd [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 So far, I have been doing ok with PHP.  I feel that I have picked it up
 rather easily.  But now I need some help.  I am trying to use the sendmail
 functions to send data entered in a form to my email address.  Currently
its
 not working at all.  I am getting a

 Fatal Error:  Call to undefined function: sendmail() in
 /home/virtual/site341/fst/var/www/html/register.php on line 87

 I havent found very much info on the sendmail function so I was shooting
in
 the dark with it.  I did read in the manual some stuff about seting it u
in
 the php.ini file that just went over my head.  Can anyone enlighten me on
 this function.

 Thanks,

 Aaron

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: sendmail

2004-08-03 Thread Manuel Lemos
Hello,
On 08/03/2004 11:16 AM, Aaron Todd wrote:
Is there any tweaking with mail()?
I have it working, but it seems to not always send the email.  Mainly one
right after the other.  I filling a web form and then sending the data off
to my email.  But then I do a refresh to clear the form and do it again with
different data and it doesnt work.  Any ideals on this?
It doesnt work is vague. What happens? Does it show any error? The 
message does not arrive?

--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] Re: sendmail

2004-08-02 Thread Aaron Todd
Thanks to you both...Matt M. and Philip Thompson.

Your suggestion of using the mail() function instead worked perfectly.

Thanks again,

Aaron


Aaron Todd [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 So far, I have been doing ok with PHP.  I feel that I have picked it up
 rather easily.  But now I need some help.  I am trying to use the sendmail
 functions to send data entered in a form to my email address.  Currently
its
 not working at all.  I am getting a

 Fatal Error:  Call to undefined function: sendmail() in
 /home/virtual/site341/fst/var/www/html/register.php on line 87

 I havent found very much info on the sendmail function so I was shooting
in
 the dark with it.  I did read in the manual some stuff about seting it u
in
 the php.ini file that just went over my head.  Can anyone enlighten me on
 this function.

 Thanks,

 Aaron

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: sendmail

2003-11-24 Thread Kim Steinhaug
You should check out phpmailer at sourceforge.
It solved all my problems, and will probably solve all yours to.

As a bonus, you get a mailer that has a lot of more functions,
like attachements and HTML mail and such.

-- 
Kim Steinhaug
---
There are 10 types of people when it comes to binary numbers:
those who understand them, and those who don't.
---


Unknown Sender [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
Sorry to be off topic but I have problem with sendmail
If anyone know sth about sendmail please e-mail priv.

Sorry once more

[EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php