Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / March 2007

Tip: Looking for answers? Try searching our database.

Sending HTML thru SendObject

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Hansen - 09 Mar 2007 17:53 GMT
I'd like to insert a lot of HTML text into a messsage that I am sending
through SendObject code.  Is there are way to do this (novice level).

Any help is much appreciated!
Signature

Steve

Dirk Goldgar - 09 Mar 2007 19:02 GMT
> I'd like to insert a lot of HTML text into a messsage that I am
> sending through SendObject code.  Is there are way to do this (novice
> level).
>
> Any help is much appreciated!

You can't do it with SendObject;  it only creates plain-text messages.
If you can count on Outlook being the e-mail client, you can automate
Outlook using the code at the various links to be found on this page:

   http://www.granite.ab.ca/access/email/outlook.htm

I think all the sample code there is just using plain text -- to send an
HTML message, IIRC, you have to set the message's HTMLBody property
instead of its Body property.  Or maybe you can also set the body format
property first (not sure of the name), and then set the Body property --  
I'm not sure how that works.

Signature

Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.