Forward Form no good on Macs? and 1 PC
Posted: Tue Aug 16, 2005 4:38 pm
Hello, I have put together a mp3 download (which works fine) and a form (not working universally) that forwards to any email that I designate. I am using Flash and also PHP. The testing that I have done has shown that the code is consistently working with PC but we are not sure about MAC. Also I am running Firefox but have tested in IE as well. Could there be a piece of code that doesn't work for Mac. I have had it not work on only one PC that I know of. I am new to PHP so any suggestions on corrections to make it work better would be appreciated. You can test the code at http://www.seedsmusic.net and send the email to yourself and see if you are getting it. If you do and you are on a mac please let me know. I got the code from a mailer form I found online, so disregard the notes that is what is wrong.
Also could the problem lie in the PHP edition that is run on a particular server? Due to my test I am thinking this is not the issue but thought I would throw it out there. The page itself should stand alone on any system and when filled out the reciever should be getting the email. So when Mac sends to Mac it is not working, yet when Mac sends to PC it is? i am so confused right now. There must be error in the code.
If anyone has any insight on this it would be greatly appreaciated. Also if you are testing the email forward form on your system the email gets back to you really quick. Thanks for any of your time spent on addressing this questions. Many Blessings!
So here is the PHP...
Also could the problem lie in the PHP edition that is run on a particular server? Due to my test I am thinking this is not the issue but thought I would throw it out there. The page itself should stand alone on any system and when filled out the reciever should be getting the email. So when Mac sends to Mac it is not working, yet when Mac sends to PC it is? i am so confused right now. There must be error in the code.
If anyone has any insight on this it would be greatly appreaciated. Also if you are testing the email forward form on your system the email gets back to you really quick. Thanks for any of your time spent on addressing this questions. Many Blessings!
So here is the PHP...
Code: Select all
<?
/******************************************************
**
** PHP Mailer
**
*******************************************************/
// Enter your contact email address here
$adminaddress = "$to";
/*******************************************************
No need to change anything below ...
*******************************************************/
// Gets the date and time from your server
//$date = date("m/d/Y H:i:s");
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address
if ($action != ""):
mail("$adminaddress","$from",
"Here is a link to a FREE DOWNLOAD http://www.seedsmusic.net of the song LISTEN TO ME from the new CD SEEDS OF PURPOSE. It was sent to you by $name. SEEDS is a family worship CD series containing high-energy songs written from God's word.
Check it out! For more information about SEEDS, go to http://www.seedsmusic.com! If you connect with our vision, help us SPREAD THE WORD!
From: $from
$from wrote this message: $message
$ip
$date","FROM:$adminaddress");
endif;
?>