PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Just as an aside, any time your variables print out as the variable and not the value of the variable, it is almost 100% string type and quote issues. You might want to read up on PHP Strings.
<?php
$hello = 'HELLO';
// Prints $hello world
echo '$hello world';
// Prints HELLO world
echo "$hello world";
// As does this
echo $hello . ' world';
?>
ok that works, but the only thing now is that the auto respond does not work, this is what i have added, what do i need to add or change to get this to work?
$autorespond("$user_email2", "Thanks For Your Email Inquiry", "Your email was sent successfully to $auth_name2. We will respond as soon as possible.",$headers2);
ok this works when i use my server addresses from wootenmedia, but when i type in an address from yahoo, i don't get an autoresponse from yahoo, aol etc.. is there anything that i can do to bypass that?
also, when i get the autoresponse, the "From" field shows up as nobody instead of the users email address. how can i get the "from" field to show the users email address?
Yahoo, aol, hotmail, etc might have spam filters that prevent messages like this. As for changing the name, look at the header details and see if it can be worked on there. Otherwise, it may be a server thing that only your host can fix.
it might not be able to be worked on, i don't know, unless something can be changed in the script for this to work, but i have asked the hosting server if "Nobody" could be disabled, and they came back saying:
As for some security reasons we do not disable the option server wide. Disabling the option will increase the spam mails. So we don't disable the option.
if it is something with the header details, what could be changed in the header?
also, is there any other way to get around yahoo, aol spam filers?