So, to sum up, we're happily sending 10-15 emails one after the other, we get this 'objNewMail.bodyText' error, then the email sender becomes useless, spitting out Catastropic failures from then on.

Anybody have any ideas? I have a feeling that the exception that occurs within the object somehow shuts off the COM object, and only a server restart will remedy the situation. Because this is a web server, we don't want to continually shut off the system to fix this...

Well, if you suspect that the error occurs within the object, this is a question for the component vendor. You need to rule out any bad input from your code. Make sure the text you're supplying to the BodyText property is clean. If it contains some strange characters (like an alternative character set) it might trip up the COM object's internal code depending upon what language it was written in. The only other recommendation I can think of is changing the object you're using. ASPSmarMail is another free component that works well.

My first question is, what changes were made to the server right before the error started happening? I mean, if it was working fine for months on end and no one has modified the ASP page then someone must have modified the server. Either by installing another program or changing the configuration somehow. Have you tried to uninstall the mail object your using and reinstalling it? If not, that would be a good place to start.

Featured Post

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Deprecated and Headed for the Dustbin
By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems. This article discusses one of those, called register_globals. It is a thing you do not want. …

Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…