Hi gang,
I'm using phpmailer _2.3; it sends email from a form on a webpage to the hosting service email account. It has always worked beautifully; it works fine now except now it prints out the following message:
"Depreciated:Function split() is depreciated in home/..pathspec....on line 447"
then it gives the standard message: "Message has been sent"
Is there any way to eliminate this 'depreciated' message?
It might be helpful to list the settings the phpmailer is using so here is the php code that actually does the sendingpasswords 'xx'ed' out):
You could convert it to use preg_split() (or possibly explode() if regular expressions are not actually needed); but in any case you should turn off error-reporting on your production server (set "display_errors" to false either in your config or via ini_set()). You can additionally turn off the logging of notice-level messages by changing the error_reporting setting (config or via error_reporting()).
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks