Hello (I'm asking this question under Access now, I had previously asked it under HTML without much result),
I'm sending email messages with vbSendMail through Access & VBA. Everything works great, however, when the message is really long, totally random exclamation points show up in the text of the message when viewing it as the recipient. I've seen some solutions for this with PHP users and the use of wordwrapping, but I'm a novice HTML person and not sure how to translate that solution over to something that will work for me. They referenced that a message can only be so long for transfer over SMTP and must have line breaks. Here is the code for sending the message. "eMessage" is a variable containg the message text and is from a Memo field in an Access table.
poSendMail.Message = "<body background=http://www.e-afa.com/ans/BG.JPG
& "<div align=center>" _
& "<table border=0 width=652 cellspacing=0 cellpadding=0 id=table1> <tr>" _
& "<td><img border=0 src=http://www.e-afa.com/ans/HEADER_AFA_BULLETIN.JPG
width=652 height=236></td>" _
& "</tr> <tr>" _
& "<td height=508 background=http://www.e-afa.com/ans/BODY.JPG
valign=top> <div align=center>" _
& "<table border=0 width=583 cellspacing=0 cellpadding=0 id=table2 height=300> <tr>" _
& "<td valign=top><font face=Arial size=2> " & eMessage & " </font></p><br>" _
& "<p><font face=Arial size=1>Special Note: Attachments to this email, if any, were created with Adobe Acrobat. To view these attachments, you may download the free Acrobat Reader at " _
& "<a href=http://www.adobe.com/products/acrobat/readstep2.html
& "</tr> </table> </div> </td> </tr> <tr>" _
& "<td><img border=0 src=http://www.e-afa.com/ans/FOOTER.JPG
width=649 height=100></td>" _
& "</tr> </table> </div> </body>"
Any thoughts would be appreciated. Thanks!