Mail Function Error Results On Gmail

the mail() function

Moderators: egami, macek, gesf

Post Reply
php-forum Fan User
php-forum Fan User
Posts: 974
Joined: Mon Oct 01, 2012 12:32 pm

Mon Feb 25, 2013 2:00 pm

where is it returning that? it looks like you're converting a value to an object at some point, and then trying to use it as a string. look for a 'new' string that may have gotten dropped into the wrong place. also, you can check your values by adding

Code: Select all

echo '<pre>';
at the top of your script. that way you'll see everything contained in each element of the post, and that will help you spot objects or values that don't belong

Post Reply