I am getting the error: Message not sent – an error occured!
I am hosting it with NameCheap, were there any issue with this Hosting provider?
It may not necessarily be a hosting company issue, it could be down to the PHP version on your server. I noticed after the updates that most PHP versions around 5.4+ and below seem to produce this error – am working on an update for this currently!
The only issues with hosting companies i have found are
1 – blocking any external email scripts (bluehost and goddaddy do this on shared hosting accounts citing security reasons – so you have to talk to their support about allowing your form script)
2 – Windows hosting servers do not support direct mail function line linux so you have to switch to SMTP
Those ere the only hosting problems that can prevent your form from working – the rest could be script related
You ca send me your files i make some changes for you and if possible email me your FTP details i work on server
Thanks a lot for your reply. I will first contact NameCheap to see can i host it there anyway, than if it’s necessary I will contact you.
Im getting error when form submit:
Message not sent – an error occured!
Not error log in php folder.
I can not comment or delete these lines because they are not in the code (formprocess.php):
Hi Pardog am going to chage the mail files for you just send me an email
Hello, Can Image upload is working?
Yes it is working
Why do you need to fix this for everyone that buys it?!
I bought it to and is doesnt work, troubelshoot solution aint working either
Can’t you just fix it?
I fixed the issue in the update it is under review it should be published soon, the reason i did not publish it earlier was to avoid republishing old code
Just downloaded it again but this still aint working
Please send me am email with your FPT settings i will fix it for you
I dont have in online, cause i was waiting for the fix
zip the form you worked with in the documentation theres my email and i also replied so just use that email
i am using the demo files, and the dont even work
Can you share your FTP details? I sorted the error issue it had something to do with the sender email variable actually so in this version it is fixed.
Please let me know about your host and hosting details i.e Windows or Linux? Windows only supports SMTP so you have to configure your SMTP to send mails directly on Windows servers. The other issue arises out of the HOSTS them selves. For example i discovered that Godaddy and Bluehost block any external PHP mail scripts for security reasons so you have to contact them directly to configure the mail function for you
Please send me your details
Hi, I am also getting “Message not sent – an error occured!” error while sending the form. Please help. Thanks
I uploaded an update though it has not been approved there were major changes in the broken PHPmailer code in Jan and some security patches so the code was updated but envato has to approve it and post the update. So it should be updated this week
Hi I have send you an email a couple of days ago with the FTP details, any luck on that yet?
is this item dead? been almost a week, a replay would be nice
“Message not sent – an error occured!”
I think I would like my money back it has been a week now and zero reply’s to my e-mail, how do I go about that?
I have send you this over a week ago I will send it again
any news yet?
am working on it should be done tonight
Thanks for your patience
Hi, I’m still getting “Message not sent – an error occured!” was it suppose to be fixed now?
I think I just want a refund, a little bit tired of waiting, you have the FTP info for 2 weeks now, good luck with your script.
Your form works please test it again
I’m having the same error message (Message not sent – an error occured!) deleted the line and still got the same results
There are two sets of forms if your server does not support sendmail use smtp that is what that error means it is included in the documentation troubleshooting section
tried both got the same results
Do you have a server log? The log will give us the specific error just check the php folder if not send me your FTP details i will let you know what the error is
I am getting the error: Message not sent – an error occured!. i am using godaddy
i need to fix this ASP.
HI Chamindimadusha, on shared hosting go daddy blocks / disables external scripts you have to talk to the support team at go daddy that you have an external form script that sends mail so that they allow you to send mail through.
So this is about their server settings not the script its self the same with bluehost servers.
Talk to them they have helped my clients with this scenario
hello by 7 days all contact forms have stopped working without a reason. thanks for help
problem solved. tanks
How does the form work with the content?
If somebody filled the form and uploaded a file, then I will get a notification with the content within the e-mail, right?
But if somebody uploads a file for me and the file is big, how do I get this?
Will there be a possibility, that the notification mail contents the direct file link of my web server?
I will have to realize a job form – and the files should be linked in the e-mail, so that every manager at our company can easily access the files, but we do not want to have them with the e-mails (to big for the mailserver).
Hi, like many others here I would like a contact form inside of a popup. Do you include code for that? thank you! Mark
Hello Mark yes am going to make updates with that feature
Great! I will watch for your next updated version and then purchase. thx
all email in spam. Please sollved problem
Are you using gmail yahoomail or your custom mail to receive the emails?
yes j have two email freenet.de – yahoo.de
ja ich habe mit mehr E-Mail-Adressen getestet. Eine Lösung, um ein Prolema zu lösen. Vielen Dank. Vielleicht ohne SMTP senden
Long story short – The problem could be something to do with Strict Email Filters
Have you tried looking at the email headers of the emails marked as spam? I have not looked at your PHPMailer code but most likely you are sending emails directly from you web page on your domain. If you are sending emails to an email address such as yahoo mail or gmail When the recipient receive the emails, the mail service of the recipient may test a reverse DNS of the sender of the mail. So the sender is from @yahoomail.com but the mail comes from your domain which of course is not yahoomail.com.
So its like I receive a mail from an address @yahoomail.com but the IP sender isn’t related at all with domain yahoomail.com: and that’s SPAM!
A possible solution is in you PHP code use authenticate with SMTP and from there send the mail!
The other possible solution could be use a “setFrom:” that matches your domain, and use a “Reply-To:” header to the email that you set in “setFrom:” header
For example if you are sending mail from mydomain.com and your setFrom email is firstname.lastname@example.org, you should change your headers to this:
It’s also a good idea to make sure your own SPF and DKIM records are correct, and sign your messages with DKIM, especially for Yahoo. You need to make sure that everything else related to your domain is good – for example SPF, DKIM, that your mail server hostname resolves forwards and backwards, that you’re not triggering content-based spam filters, that you have a history of not sending spam, that you’re not sharing IPs with spammers etc. The messages that go into spam folders will often have headers saying why, so view source on them to see why
Freenet.de (Freenet Mail) SMTP Server mx.freenet.de
SMTP port 587
SMTP security STARTTLS
SMTP username Your full email address
SMTP password Your Freenet.de password
Yahoo Mail SMTP server address: smtp.mail.yahoo.com o at o de
Yahoo Mail SMTP username: Your full Yahoo Mail email address (including ”@yahoo.com”)
Yahoo Mail SMTP password: Your Yahoo Mail password
Yahoo Mail SMTP port: 465 (587 is an alternative)
Yahoo Mail SMTP TLS/SSL required: yes
whit smt send or not smtp send
in addition to receiving a copy of the message in the spam folder, even those who fill in the message form the contact form not only as an administrator
Please clarify the last statements – also did you check the spam email headers? They have the reason why its classified as spam actually
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $2
This item was featured on CodeCanyon
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
25,000+ tutorials and 1,000+ courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work