Article View: borland.public.cppbuilder.nativeapi
Article #8365Re: MAPI API-Sending Attachments without winmail.dat
From: Bob Gonder
Date: Wed, 03 Nov 2004 23:47
Date: Wed, 03 Nov 2004 23:47
22 lines
1822 bytes
1822 bytes
CC wrote: >I'm trying to use the simple mapi api to send attachments, email, etc. > >No matter what attachments I send, i get a winmail.dat (the rtf formating >junk)file when viewing with a non-microsoft email program (aol, hotmail,etc) IIRC, simple mapi uses the default email client on your system to format and send the data. In your case, that would likely be Outlook or OE. In my case, it is Eudora. >Is there a way to change the file encoding that simple mapi sends out?: If you can't configure your email client to send in the manner you desire, then I think your better option is to go with your own code (SMTP), which is what I did. You should be able to find working SMTP code by Googling for it. // smtp.cpp: implementation of the Smtp class. // Copyright 2000 by Randy Charles Morin
Technical Details
Message-ID:
<ppqio0h05c53eg2lbuf14c4s0v685mhtur@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!prodigy.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<41895587@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e692bbdb577e3d7 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: MAPI API-Sending Attachments without winmail.dat Date: Wed, 03 Nov 2004 15:47:07 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <ppqio0h05c53eg2lbuf14c4s0v685mhtur@4ax.com> References: <41895587@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.144.70 X-Trace: newsgroups.borland.com 1099525625 67.77.144.70 (3 Nov 2004 15:47:05 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!prodigy.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail