PowerBuilder MAPI and mime-types

PowerBuilder MAPI and mime-types

Post by kotukunu » Thu, 29 Apr 2004 13:27:20

I have an application written in PB8 which automatically sends out an
e-mail with an attached file using the user's MAPI enabled mail client
(in this case MS Outlook)
However, when the e-mail is received at the other end, attached files
are Base64 encoded even though they are just ASCII text files.

Is there any way that the PB code that sends the e-mail can influence
the decision to Base64 encode the attached files? There does not seem
to be a field for specifying mime-type to the MAPI calls. The attached
files have an extension of .TXT so I thought they would go

The other option is obviously that the mail client/server needs to be
trained to NOT encode the files. If they are using the Outlook client
on Windows XP, how do you teach it to not encode files?

Thanks for any help or advice.

Evan Yates

1. tomcat 4.x : setting mime type for a directory or setting a default mime type

2. file types/data types/mime types

I am puzzled about something with osX.
Why does it use the file extension for determining file type instead of
looking into the file for the type?

My Amiga used datatypes 15 years ago to determine what kind of file it
was. If it was jpeg but named .gif, no problem. The jpeg program loaded it.

For instance, I had a file on my desktop, an html file of instructions.
It had no file extension so appeared on the desktop as a blank white
rectangle. Re-named it 'html' so firefox showed up on the icon.

I just renamed it 'jpg' and GraphicConverter tried to open it. It
reported "The file 'foobar.jpg' is broken, the format is unknown or it
isn't a graphics file.
So, Graphic Converter can't open it."
Then it gives a file dump, in hex and ascii which clearly shows it to be
an html file.

Why aren't data types or mime types implemented in the user interface?
Are datatypes/mimetypes in the BSD itself? Cannot find it.

3. OS X 10.3 file extensions/mime-types with LaunchServices

4. How to check mime-types ?

5. Support new file extentions / MIME-types

6. Lynx/mime-types: How to change what loads text/plain?

7. mime-types question..

8. IDownloadManager in IE8 with known MIME-types.

9. explorer and mime-types

10. [ANN] mime-types 1.16 Released

11. How to convert mime type email to SMIME type email with dettach signature

12. conflict between mime type and documet type

13. MIME types vs. WPS types (was PMMail: hiccups opening image attachments)

14. How to get MIME format body of a multipart/alternate MAPI message

15. MIME to MAPI