MEMail.Message COM component does not support MessageBodyText property

Discussions on webmail and the Professional version.
Post Reply
solucionmike
Posts: 92
Joined: Sat Dec 10, 2005 6:37 pm
Location: Mexico
Contact:

MEMail.Message COM component does not support MessageBodyText property

Post by solucionmike » Sun Dec 15, 2019 9:13 pm

Hi,
Need help.

I am using the MEMail.Message COM component with Professional Edition 10.25, and when adding the optional oMail.MessageBodyText property to force the content for the textual content of the message I get this error:

Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'MessageBodyText'
TESTMailEnableTxt-HTML.asp, line 47

I have this code:

Set oMail = server.CreateObject("MEMail.Message")
oMail.MailFrom = "abc@abc.net"
oMail.MailTo = "abc@abc.net"
oMail.ContentType = "text/html; charset=iso-8859-1"
oMail.MessageBodyText = "Bottled still and sparkling water"
oMail.MessageBody = "<hr> [strong]Bottled still and sparkling water[/strong] <hr>"
oMail.Subject = "HTML & TEXT Test"
oMail.SendMessage

(I also tried MessageBodyPlain (as this also mentioned in some parts of the documentation) as the property and did not get any error, but there was no TEXT in the Email generated it just sent the HTML part), also when sending HTML only there is also no text component but documentation suggests the component should do that automatically "If the property is not set, MailEnable will generate a textual version of the message from the HTML content supplied (assuming the ContentType is set as text/html".

Could it be I have an old version of the COM Component? I could not find any link or information on the latest version.

Please help

Mike
Mike May

solucionmike
Posts: 92
Joined: Sat Dec 10, 2005 6:37 pm
Location: Mexico
Contact:

Re: MEMail.Message COM component does not support MessageBodyText property

Post by solucionmike » Mon Jan 06, 2020 12:47 am

Hi MailEnable,
I would be nice to have some feedback here to get to the bottom of this.
If your advise is to pay for a Support Token to get some action please let me know.
Thanks
Mike
Mike May

MailEnable-Ian
Site Admin
Posts: 9029
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: MEMail.Message COM component does not support MessageBodyText property

Post by MailEnable-Ian » Thu Jan 23, 2020 1:11 am

Hi,

Your best way forward for a managed response would be to lodge a support ticket.
Regards,

Ian Margarone
MailEnable Support

Post Reply