Re: Unable to send mail from PHP to AT&T e-mail address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Does ini_set actually change the php.ini file in any way ? The reason I ask
> is that after putting in:

Yes it does. :)    you should have refered to the manual before using the line.

Did you write your  own myemail@xxxxxxxxxxxx? or you kept that exactly
like in code?

>
> ini_set('sendmail_from', 'myemail@xxxxxxxxxxxx');
>
> into a new script which I tested out against, the 'mail' function now
> continues to work but no e-mail is received no matter what the recipient
> e-mail is. Even is I go back to using my old script which does not have the
> 'ini_set' in it, no e-mail actually gets receoved even though 'mail'
> succeeds when called. So I have gone from bad to worse and the ini_set seems
> to have affected all calls to 'mail' in this way for PHP scripts on the
> server.
>
> Can I correct but somehow stopping PHP ( or may Apache ) and restarting it
> again to bring back the original php.ini setting ?

For now you can go back to set the php.ini to default with the
ini_set function.

You can use ini_get to retrieve data from the php.ini configs

a phpinfo() will show you all the current settings.

Regards

Lenin

www.twitter.com/nine_L

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux