Hiya Guys! I have just released a new video! Be sure to check it out! If you haven't seen my first video, please view it! Remember to subscribe and suggest an item for my future giveaway (details on channel). Thanks!
This giveaway can become something big with your help! You could win it with effort!
"Warning: mail() [function.mail]: SMTP server response: 554 The message was rejected because it contains prohibited virus or spam content in D:\Hosting\7346810\html\email.php on line 15
We encountered an error sending your mail "
I'm using godaddy I've had SOOO many problems trying to get this form to work :[
i have copied ur code and have things setup but when i click the send button it doesnt send an email i havent change any of ur code. i dnt have my website on a server yet does this stop the php code from working? i currently building it on my computer
@TheMagicOfGabriel Sounds like you are missing a comma, bracket, or something VERY simple. I'd double-check your code carefully and cross-reference it with the one I hosted.
hey mate, ive copied ur code exactly but when i hit submit an eroor message appears saying it cannot find my php file. All the file names are correct and in the same directoy so i really dont know whats wrong? any advice would be great
Ensure the PHP file is in the same directory as the file with the e-mail form. Also ensure the spelling is correct (Case Sensitive) and check the CHMOD (File Permissions) on the PHP file.
I didn't know G-Mail blocked that port O_O. You could always register a different e-mail (Yahoo or something) and have it all forwarded to your GMail.
No problem, I know it can be a hassle finding a simple way of doing this. I figured I'd share for people like you. I am glad you found it helpful. If you have any further questions feel free to message or comment.
Thankyou so much buddy! Helped me alot!!!
FateOfJustice 1 month ago
This has been flagged as spam show
Hiya Guys! I have just released a new video! Be sure to check it out! If you haven't seen my first video, please view it! Remember to subscribe and suggest an item for my future giveaway (details on channel). Thanks!
This giveaway can become something big with your help! You could win it with effort!
hackster2011 2 months ago
which yahoo mail r u using!is it australian one!!!in which country u r living tht ur yahoo is differnt from us!!!plz inform me!!thanks
iamtherock16 2 months ago
Hey Um The Emails Always go to my junk folder and i cant change it
RockonStudio 6 months ago
Make sure to put the closing bracket after <?php ......
cigan4life 6 months ago
There is a mistake in the php code. There is a bracket missing where the <?php is.... Thx mushroomheadbangers, this code works really well.
cigan4life 6 months ago
How do I add an extra field for their E-Mail address? Thanks
Jjhw149 9 months ago
I got this:
"Warning: mail() [function.mail]: SMTP server response: 554 The message was rejected because it contains prohibited virus or spam content in D:\Hosting\7346810\html\email.php on line 15
We encountered an error sending your mail "
I'm using godaddy I've had SOOO many problems trying to get this form to work :[
RAIcehawk 10 months ago
hey
i have copied ur code and have things setup but when i click the send button it doesnt send an email i havent change any of ur code. i dnt have my website on a server yet does this stop the php code from working? i currently building it on my computer
many thanks
Doubtfire95 1 year ago
@Doubtfire95 You'd need Apache and PHP installed on your computer for it to function properly locally.
mushroomHEADBANGERS 1 year ago
@mushroomHEADBANGERS this would mean its only on my computer not the web??
cheers i'm new to this
Doubtfire95 1 year ago
@Doubtfire95 Correct. It's fine :P
There are tons of free web-sites out there that you can test it on if you don't have your own.
mushroomHEADBANGERS 1 year ago
Hi,
I've done all the things but when I try on my pc after I click the "SEND MESSAGE" button appear this message:
Thank. Click HERE to return to the Home Page' ); } else {print "Message Error"; } ?>
I've write same as you.
Sorry for the Bad English :)
TheMagicOfGabriel 1 year ago
@TheMagicOfGabriel Sounds like you are missing a comma, bracket, or something VERY simple. I'd double-check your code carefully and cross-reference it with the one I hosted.
mushroomHEADBANGERS 1 year ago
This has been flagged as spam show
did it all but just sents you to a page: URL/test.php. and the page is blank. also the message does not send to my email
thewebshow300 1 year ago
did it all but just sents you to a page: URL\test.php. and the page is blank. also the message does not send to my email
thewebshow300 1 year ago
every time i hit submit it opens a download screen to download the php, how do i fix this?
johandagreat 1 year ago
i get this error
Parse error: syntax error, unexpected T_STRING in /home/a5586799/public_html/html/mail.php on line 6
miniarma 1 year ago
@miniarma it means you have an error on line 6 in ur php file maybe missing a bracket or something home boy
MrColonelCisco 1 year ago
When I copied your code and set up everything, it sends the email, but doesn't put the info that the person put in. It's just a blank email.
thekidkook 1 year ago
@thekidkook Does it display the proper e-mail title too? Also, did you verify that the file was saved and changed to a PHP file?
mushroomHEADBANGERS 1 year ago
THANK YOU!! I followed your directions and had a working contact form in less than a minute! XOXOXOX
Neptune2007 1 year ago
@Neptune2007 You're very welcome, glad to hear it :)
mushroomHEADBANGERS 1 year ago
does my website need to be hosted in order for it to work? Or can I test it while I am still building my html website on my computer?
ScenicHD 1 year ago
You'd have to install Apache and PHP on your system to run PHP scripts :/
mushroomHEADBANGERS 1 year ago
hey mate, ive copied ur code exactly but when i hit submit an eroor message appears saying it cannot find my php file. All the file names are correct and in the same directoy so i really dont know whats wrong? any advice would be great
Andy67669 1 year ago
Ensure the PHP file is in the same directory as the file with the e-mail form. Also ensure the spelling is correct (Case Sensitive) and check the CHMOD (File Permissions) on the PHP file.
mushroomHEADBANGERS 1 year ago
This doesn't work for me :(
It fails every time. It tries to connect through port 25, but gmail blocks port 25. Any ideas?
vdub350 1 year ago
I didn't know G-Mail blocked that port O_O. You could always register a different e-mail (Yahoo or something) and have it all forwarded to your GMail.
mushroomHEADBANGERS 1 year ago
I got it working, I installed ssmtp and set up php to use it. Now it works.
vdub350 1 year ago
Ah, smart! Well I'm glad to hear you got it working :)
mushroomHEADBANGERS 1 year ago
A great tutorial in a relaxed enviroment so many others. Don't give you the faith to continue and complete the excerize.
garrywilliam1459 1 year ago
thank u ...ur tutorial is aw sum ..........
tinilpj 2 years ago
can make give the coding of that because i make lot of mistake ....
tinilpj 2 years ago
Check the video description. I included a link to a file I made with the exact coding you will need shown in this video.
mushroomHEADBANGERS 2 years ago
Thank you so much. I am writing a website for my friend and he wanted people to be able to e-mail him and now i can do that, so again THANKS!!
linkmandrew 2 years ago 2
No problem, I know it can be a hassle finding a simple way of doing this. I figured I'd share for people like you. I am glad you found it helpful. If you have any further questions feel free to message or comment.
Thanks!
mushroomHEADBANGERS 2 years ago