+ Reply to Thread
Results 1 to 2 of 2

Cdo smtp - combine textbody with htmlbody

  1. #1
    Registered User
    Join Date
    05-30-2015
    Location
    SVK
    MS-Off Ver
    2016
    Posts
    38

    Cdo smtp - combine textbody with htmlbody

    Cross-posted here:
    https://www.ozgrid.com/forum/forum/h...-with-htmlbody

    Hi, I'm using a script referenced to library - Microsoft CDO for Windows 2000 to send emails from excel without opening a mail client.
    My original subroutine works ok, here is the part about sending the message itself:

    Please Login or Register  to view this content.
    I can use properties .TextBody to send a message as Plain text or .HtmlBody and construct body of email in a way of innerHtml,
    but cannot use both in same message, as second overrules first.

    I look for a way to combine them both somehow.
    I found class IBodyPart or properties TextBodyPart / HtmlBodyPart, but seem not to find a way to put them to use.

    Can someone please suggest anything ? Even a documentation on this will help.

    Thank you
    Last edited by pulsar777; 01-14-2018 at 04:58 PM.

  2. #2
    Registered User
    Join Date
    05-30-2015
    Location
    SVK
    MS-Off Ver
    2016
    Posts
    38

    Re: Cdo smtp - combine textbody with htmlbody

    Any ideas please ?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Adding Cell Values To .HTMLBody in Excel VBA
    By jdoerr1021 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-25-2015, 09:12 PM
  2. Help with HTMLBody formatting
    By starlev in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-20-2015, 10:00 AM
  3. How to insert signature in email using .HTMLbody
    By sugaprasad in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2015, 06:28 AM
  4. Textbox (enter key) not giving a new line in HTMLBody
    By milo1984 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-09-2013, 09:18 AM
  5. Cell value in HTMLBody
    By mcinnes01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-14-2011, 08:03 AM
  6. Email specific range of cells using .htmlbody
    By Jason Smith in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-19-2008, 03:01 PM
  7. [SOLVED] outlook htmlbody
    By Erin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-06-2005, 03:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1