[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]
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]
Re: [PHP] sending mail.. PLEASE HELP!
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!
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!
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!
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!
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!
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]