AddMailAttachmentData()

Found an issue in the documentation ? Please report it here !

Moderator: Documentation Editors

jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

AddMailAttachmentData()

Post by jassing »

help file wrote: The type of the attached file. If this parameter is omitted, then the file extension will be used to determine that files mime type.
You're attaching data - there is no file name, and hence, no file extension.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2139
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: AddMailAttachmentData()

Post by Andre »

You're right about that there is no file.

But how the description of this optional parameter 'MimeType$' should look like?
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: AddMailAttachmentData()

Post by jassing »

I would think it should not be optional when using data.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2139
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: AddMailAttachmentData()

Post by Andre »

So this sounds like a feature request, where Fred should take a look...
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Post Reply