Re: [PHP] SMTP mail server

2009-04-24 Thread Manuel Lemos
Hello, on 04/24/2009 10:17 PM Ron Piggott said the following: > I am on a shared web site hosting company. They are asking me to edit > my PHP script to specify the SMTP using $aditional_parameters on the URL > below. If this can't be achieved then I need to confirm this. No, AFAIK you cannot c

Re: [PHP] SMTP mail server

2009-04-24 Thread kranthi
ini_set("SMTP", "mail.host.com"); ini_set("smtp_port", 25); http://ca2.php.net/manual/en/mail.configuration.php http://ca2.php.net/manual/en/function.ini-set.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SMTP mail server

2009-04-24 Thread Ron Piggott
I am needing to put this into one specific PHP script. What would the ini_set look like? Ron On Sat, 2009-04-25 at 06:43 +0530, kranthi wrote: > if u cant change the configuration settings of php.ini > use http://pear.php.net/package/Mail > alternatively u can also hav ini_set on top of every

Re: [PHP] SMTP mail server

2009-04-24 Thread Ron Piggott
I am on a shared web site hosting company. They are asking me to edit my PHP script to specify the SMTP using $aditional_parameters on the URL below. If this can't be achieved then I need to confirm this. Ron On Fri, 2009-04-24 at 20:04 -0500, Adam Williams wrote: > > Ron Piggott wrote: > >

Re: [PHP] SMTP mail server

2009-04-24 Thread kranthi
if u cant change the configuration settings of php.ini use http://pear.php.net/package/Mail alternatively u can also hav ini_set on top of every page. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SMTP mail server

2009-04-24 Thread Adam Williams
Ron Piggott wrote: How do I specify an actual SMTP server? (Like mail.host.com) This is what I have so far: mail($email, $subject, $message, $headers); I was to http://ca2.php.net/manual/en/function.mail.php and saw this syntax: mail ( string $to , string $subject , string $message [, stri

[PHP] SMTP mail server

2009-04-24 Thread Ron Piggott
How do I specify an actual SMTP server? (Like mail.host.com) This is what I have so far: mail($email, $subject, $message, $headers); I was to http://ca2.php.net/manual/en/function.mail.php and saw this syntax: mail ( string $to , string $subject , string $message [, string $additional_headers