I need help further developing my website now that i've migrated and my previous developers no longer exist.

Hi DigitalOcean,

For starters, can you help me with my contact form on my website? The contact link is broken. It reads: “Message was not sent. Mailer error: Could not instantiate mail function. There was a problem sending your email. Array”

Thank you! Will


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


It sounds like that you are using Wordpress. If this is the case what I could suggest here is using an SMTP plugin to sort out the contact form issue.

That way you will be able to specify an SMTP server with authentication which your emails would be going through. You could, for example, use Gmail’s SMTP settings.

This would drastically increase the delivery rate of your emails as well compared to using plain PHP mail.

I’ve been using this plugin for a while now and it works very well: Easy WP SMTP.

Hope that this helps! Let me know if you have any questions. Regards, Bobby