Re: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Plutarck

You need to alter your php.ini file in the mail section to point the proper
path to sendmail, and you need some form of sendmail there for PHP to point
to in the first place!

So there's no just calling mail() without setting stuff up.


--
Plutarck
Should be working on something...
...but forgot what it was.


""Jude Sanglitan"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> If I was to send mail could I possibly send it using mail() function or I
> need to setup some things to make it work properly? Everytime I run my PHP
> script, it always gives me an Error: Failed to Connect to
> c:\inetpub\wwwroot\ and it was pointing to my mail() function.
>
> I just followed what the book says and I guess there is a part of it that
I
> missed or whatever. Could someone help me? Thanks!!!
>
>
> Jithy
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Data Driven Design

I couldn't get it to work by changing php.ini either, I guess my isp mail
server wouldn't relay. I downloaded a mailserver from www.tnsoft.com , its
not free but it is an option if you get too frustrated trying to make it
work.

Data Driven Design
P.O. Box 1084
Holly Hill, Florida 32125-1084

http://www.datadrivendesign.com
http://www.rossidesigns.net
- Original Message -
From: Jude Sanglitan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2001 10:16 AM
Subject: [PHP] sending mail.. PLEASE HELP!


>
> If I was to send mail could I possibly send it using mail() function or I
> need to setup some things to make it work properly? Everytime I run my PHP
> script, it always gives me an Error: Failed to Connect to
> c:\inetpub\wwwroot\ and it was pointing to my mail() function.
>
> I just followed what the book says and I guess there is a part of it that
I
> missed or whatever. Could someone help me? Thanks!!!
>
>
> Jithy
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Jude Sanglitan


Hi thanks!!!

I should've change my SMTP first.. geezz!! That makes me 10 times smarter
than before.
It is working now.! Thanks a lot!






-Original Message-
From: Plutarck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 10:12 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] sending mail.. PLEASE HELP!


You need to alter your php.ini file in the mail section to point the proper
path to sendmail, and you need some form of sendmail there for PHP to point
to in the first place!

So there's no just calling mail() without setting stuff up.


--
Plutarck
Should be working on something...
...but forgot what it was.


""Jude Sanglitan"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> If I was to send mail could I possibly send it using mail() function or I
> need to setup some things to make it work properly? Everytime I run my PHP
> script, it always gives me an Error: Failed to Connect to
> c:\inetpub\wwwroot\ and it was pointing to my mail() function.
>
> I just followed what the book says and I guess there is a part of it that
I
> missed or whatever. Could someone help me? Thanks!!!
>
>
> Jithy
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Jude Sanglitan

Oops! How can I prevent this?

Fatal error: Maximum execution time of 30 seconds exceeded in
C:\Inetpub\wwwroot\TFC Survey Form\mailform.php on line 17


-JS


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Michael Hall


Are you doing a bulk mail out or something like that?
Your script is timing out. The max_execution_time can be changed in
php.ini

Mick

On Thu, 12 Apr 2001, Jude Sanglitan wrote:

> Oops! How can I prevent this?
> 
> Fatal error: Maximum execution time of 30 seconds exceeded in
> C:\Inetpub\wwwroot\TFC Survey Form\mailform.php on line 17
> 
> 
> -JS
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Jude Sanglitan



It might be a time-out but can I avoid this message by writing an Error
handler to my PHP script? f it is possible, how? Thanks



-Original Message-
From: Michael Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 9:05 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] sending mail.. PLEASE HELP!



Are you doing a bulk mail out or something like that?
Your script is timing out. The max_execution_time can be changed in
php.ini

Mick

On Thu, 12 Apr 2001, Jude Sanglitan wrote:

> Oops! How can I prevent this?
>
> Fatal error: Maximum execution time of 30 seconds exceeded in
> C:\Inetpub\wwwroot\TFC Survey Form\mailform.php on line 17
>
>
> -JS
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Tobias Talltorp

Or just adding this to the top of the page that is taking forever to
process:

set_time_limit(60); // 60 seconds before timeout, change to more if you want
to

This way you don´t have to change the time limit for all of the pages.

// Tobias Talltorp

> Are you doing a bulk mail out or something like that?
> Your script is timing out. The max_execution_time can be changed in
> php.ini
>
> Mick
>
> On Thu, 12 Apr 2001, Jude Sanglitan wrote:
>
> > Oops! How can I prevent this?
> >
> > Fatal error: Maximum execution time of 30 seconds exceeded in
> > C:\Inetpub\wwwroot\TFC Survey Form\mailform.php on line 17




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Sending Mail via SMTP

2001-09-05 Thread Richard Heyes

> I would like to send mail via SMPT and I guess
> some socket scripting should be done.
> 
> any example? any help?

Have a look at cvs.php.net --> php4 --> pear --> Mail

There's an smtp class which should do what you're after iirc. It does
have quite a few dependencies though, off the top of my head you'll need
pear/Mail.php, pear/PEAR.php, pear/Net/smtp.php and maybe someothers
from the Net folder.

HTH
-- 
Richard Heyes

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Sending mail using a password

2002-02-27 Thread DL Neil

Greetings Svavar

My SMTP server requests I use a password for every time I send(not IP based).  How is 
it possible to let PHP to
use password authentication when mail is sent.


=Eureka!
I have been looking at this, and made a note to come back to take a look at a 'likely 
candidate'. Of course,
couldn't find it again when I read your msg...

Check out http://phpmailer.sourceforge.net/
-
Features
Can send emails with multiple TOs, CCs, BCCs and REPLY-TOs
Redundant SMTP servers
Multipart/alternative emails for mail clients that do not read HTML email
Support for 8bit, base64, binary, and quoted-printable encoding
Uses the same methods as the very popular AspEmail active server (COM) component
SMTP authentication
Word wrap
-

You're a bit ahead of me! I haven't used the s/w.
Nor did I notice any of the examples using SMTP-Auth.
I don't recognise any of the project team's names.
So I can't give you a definitive 'yes' or 'no' recommendation.

If you try it, will you please share some feedback?

Regards,
=dn




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




Re: [PHP] Sending mail using a password

2002-02-27 Thread R'twick Niceorgaw

I have used phpmailer as my SMTP host also requires authentication. so far
working without a problem.

--
R'twick Niceorgaw
E-Mail: [EMAIL PROTECTED]
--



- Original Message -
From: "DL Neil" <[EMAIL PROTECTED]>
To: "Svavar Lúthersson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 11:39 AM
Subject: Re: [PHP] Sending mail using a password


> Greetings Svavar
>
> My SMTP server requests I use a password for every time I send(not IP
based).  How is it possible to let PHP to
> use password authentication when mail is sent.
>
>
> =Eureka!
> I have been looking at this, and made a note to come back to take a look
at a 'likely candidate'. Of course,
> couldn't find it again when I read your msg...
>
> Check out http://phpmailer.sourceforge.net/
> -
> Features
> Can send emails with multiple TOs, CCs, BCCs and REPLY-TOs
> Redundant SMTP servers
> Multipart/alternative emails for mail clients that do not read HTML email
> Support for 8bit, base64, binary, and quoted-printable encoding
> Uses the same methods as the very popular AspEmail active server (COM)
component
> SMTP authentication
> Word wrap
> -
>
> You're a bit ahead of me! I haven't used the s/w.
> Nor did I notice any of the examples using SMTP-Auth.
> I don't recognise any of the project team's names.
> So I can't give you a definitive 'yes' or 'no' recommendation.
>
> If you try it, will you please share some feedback?
>
> Regards,
> =dn
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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




Re: [PHP] Sending mail without using mai() ?

2001-11-14 Thread Andrey Hristov

I think that are some code which does what you want? Look at www.hotscripts.com,
phpclasses.upperdesign.net 

Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS


- Original Message - 
From: "Jaime Iniesta Aleman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 14, 2001 2:53 PM
Subject: [PHP] Sending mail without using mai() ?


> Hi, is it possible to send SMTP mail if the server where are my pages
> hosted forbids the use of the mail() function ? I mean, by opening a
> sockets connection to an external SMTP server and writing the commands
> there directly...
> 
> Jaime
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Sending mail without using mail()

2001-11-16 Thread R'twick Niceorgaw

grab a copy of phpmailer .. it does exactly what you want
- Original Message - 
From: "Jaime Iniesta Aleman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 16, 2001 4:01 AM
Subject: [PHP] Sending mail without using mail()


> 
> 
> Ok, where can I find a tutorial about sending mail using fsockopen ?
> 
> ***
> 
> > Hi, is it possible to send SMTP mail if the server where are my pages
> > hosted forbids the use of the mail() function ? I mean, by opening a
> > sockets connection to an external SMTP server and writing the commands
> > there directly...
> 
> Yes, *IF*:
> 
> The ISP was not smart enough to realize this and didn't disable the
> http://php.net/fsockopen function
> 
> Your SMTP server will accept connections from your web-server.
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] sending mail with PHP from web

2001-02-06 Thread Steve Werby

"Yamin Prabudy" <[EMAIL PROTECTED]> wrote:
> i had make a web interface to send announcement mail to my
customers,..rite
> now i had about 500
> once I send mail to my customers my server hang ( i guess to much open
> file)...i complie by kernel again to get a big descriptor, but still
worried
> about the hang problemi put a delay in my program so it send a mail
and
> delay in x time, but i get a web error and my mail stop sending in my
> customer number 300

set_time_limit( 240 );  // Increase allowable script execution time to 240
seconds.

This will probably help in your case, but you might want to look at a
mailing list manager like majordomo or mailman to pass the email to.  Then
the mailing list manager can handle delivery to the recipients.  You can
always write the recipient list file dynamically using PHP.  Or you may want
to insert the records into a queue table in the same MySQL database where
your recipients are coming from and run a cron job every X minutes to
determine if there are any records in the queue and if so to pull a set
number of them from the table and send them emails then delete the records
from the table.

--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] sending mail with PHP from web

2001-02-07 Thread Jon Haworth

Can we see some code? I run a very similar thing (sending mails to around
500 people whose details are stored in a MySQL database and accessed via
PHP) - the only difference is my OS is NT4 not FreeBSD.


-Original Message-
From: Yamin Prabudy [mailto:[EMAIL PROTECTED]]
Sent: 07 February 2001 02:58
To: PHP List
Subject: [PHP] sending mail with PHP from web


Hi there,...
i had make a web interface to send announcement mail to my customers,..rite
now i had about 500
once I send mail to my customers my server hang ( i guess to much open
file)...i complie by kernel again to get a big descriptor, but still worried
about the hang problemi put a delay in my program so it send a mail and
delay in x time, but i get a web error and my mail stop sending in my
customer number 300

sorry for the broken english

can any one help me with this kind of problem...
i get my customer from mysql table, using freebsd4.1 and php4

Yamin Prabudy


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] sending mail with PHP from web

2001-02-07 Thread Yamin Prabudy

hereis my code,
mysql get all the user data at once and send it at once to prevent my sistem
from crash i add the sleep 2

mysql_connect($hostname,$mysqluser,$mysqlpassword);
$result=mysql_db_query("radius","SELECT * FROM profile");

while ($rows=mysql_fetch_array($result)) {
$to=$rows["UserName"];
mail("$[EMAIL PROTECTED]","$subject","$mail","From:
[EMAIL PROTECTED]");
sleep(2);
}
echo "";
echo " Sending Mail in Progress ...";
echo "";

- Original Message -
From: Jon Haworth <[EMAIL PROTECTED]>
To: 'Yamin Prabudy' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 5:24 PM
Subject: RE: [PHP] sending mail with PHP from web


> Can we see some code? I run a very similar thing (sending mails to around
> 500 people whose details are stored in a MySQL database and accessed via
> PHP) - the only difference is my OS is NT4 not FreeBSD.
>
>
> -Original Message-
> From: Yamin Prabudy [mailto:[EMAIL PROTECTED]]
> Sent: 07 February 2001 02:58
> To: PHP List
> Subject: [PHP] sending mail with PHP from web
>
>
> Hi there,...
> i had make a web interface to send announcement mail to my
customers,..rite
> now i had about 500
> once I send mail to my customers my server hang ( i guess to much open
> file)...i complie by kernel again to get a big descriptor, but still
worried
> about the hang problemi put a delay in my program so it send a mail
and
> delay in x time, but i get a web error and my mail stop sending in my
> customer number 300
>
> sorry for the broken english
>
> can any one help me with this kind of problem...
> i get my customer from mysql table, using freebsd4.1 and php4
>
> Yamin Prabudy
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Sending mail from PHP with SMTP server requiring authentication

2001-11-13 Thread Richard Heyes

> Hi gang,
> Any one tried to send mail through PHP using mail() through an smtp server
> which requires authentication ?

http://www.phpguru.org/scripts/10/

--
Richard Heyes
"If you have any trouble sounding condescending,
find a Unix user to show you how it's done." - Scott Adams


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]