Results 1 to 6 of 6
  1. #1
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496

    Outlook MIME

    Anyone know how to use MIME when sending emails (HTML) using outlook and VBA?



    I need plain text as well as HTML and I can't find information on how to do that.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,628
    Here's VB code. Maybe it can be adapted for Access/VBA.
    http://www.example-code.com/vb/emailMime.asp
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by June7 View Post
    Here's VB code. Maybe it can be adapted for Access/VBA.
    http://www.example-code.com/vb/emailMime.asp
    Yikes!

    so if I create the two top Chilkat MailMan objects (new classes) I can use them to do this...

    but I notice nothing about using outlook.

    I guess if I can output the mime to string then append it to the html string it could work though I have never used MIME and not really sure about what it is I am doing.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,628
    I never heard of MIME until this thread - so blind leading blind? A quick search hit on that page.

    The procedure is using code to work directly with SMTP. Much like Collaboration Data Object https://www.accessforums.net/access/...nding-216.html

    No idea what will happen when you declare the mime and mailman objects. I am sure my Access does not have libraries for ChilkatMime and ChilkatMailMan2. No idea what 30-day trial is being unlocked.

    Wiki has article on MIME. Something about MIME allowing 'multipart messages' - whatever that means.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Thanks for your help June7 - I'll update here if I end up getting it to work.

  6. #6
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by June7 View Post
    I never heard of MIME until this thread - so blind leading blind? A quick search hit on that page.

    The procedure is using code to work directly with SMTP. Much like Collaboration Data Object https://www.accessforums.net/access/...nding-216.html

    No idea what will happen when you declare the mime and mailman objects. I am sure my Access does not have libraries for ChilkatMime and ChilkatMailMan2. No idea what 30-day trial is being unlocked.

    Wiki has article on MIME. Something about MIME allowing 'multipart messages' - whatever that means.
    My basic understanding is that it is plain text that works in HTML so that junk mail filters don't automatically junk html emails (because they see the mime plain text).

    This guy explains how MIME came about and how it is used in emails

    https://www.youtube.com/watch?v=LOUqh5xw99w

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Outlook
    By donillo in forum Programming
    Replies: 12
    Last Post: 07-23-2014, 09:53 AM
  2. Replies: 11
    Last Post: 05-20-2014, 11:32 AM
  3. Outlook and VBA
    By Ruegen in forum Programming
    Replies: 18
    Last Post: 03-12-2014, 11:20 PM
  4. Assigning Outlook task from shared Outlook mailbox
    By Remster in forum Programming
    Replies: 2
    Last Post: 11-16-2011, 04:38 AM
  5. Outlook
    By noidea in forum Access
    Replies: 0
    Last Post: 08-01-2009, 08:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums