close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Errors when sending emails

Thread began 11/24/2015 2:33 pm by MagsW | Last modified 11/25/2015 1:35 pm by MagsW | 580 views | 4 replies


Errors when sending emails

I have some email pages set up so that my client can send emails through the website. This seems to work OK most of the time, however they've started getting error messages on some pages. I duplicated the pages in question and narrowed the recordset down to just a few email addresses and it worked fine with no errors, so I can only think that it's something to do with higher volumes of email - although there are only 561 records in total. Errors as follows:

Notice: Undefined variable: mailContent in /var/www/vhosts/[mywebsiteURL]/httpdocs/webassist/email/mail_php.php on line 113

This line repeats numerous times, ending with:

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/[mywebsiteURL]/httpdocs/webassist/email/mail_php.php:113) in /var/www/vhosts/[mywebsiteURL]/httpdocs/jfb/email_all.php on line 137

On a separate page, the client is getting an internal server error after hitting Send. I added error reporting to the page but they don't even get to see the page, just the internal server error message.

In both the above instances, the emails appear to be getting sent successfully (I'm on the mailing list and receive them OK). Both pages are set to display a success message using page.php?sent=true after sending. I also set up email logging on both these pages but the emails aren't being logged in the database so no way of actually checking if they all went!

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...