[DUG] Open new email in default browser

Jolyon Direnko-Smith jsmith at deltics.co.nz
Thu Jul 28 16:00:17 NZST 2016


Ignore my previous response - it was just re-stating what you already
learned.  Sorry 'bout that.

As for alternatives, is there any reason you must use the default email
client and cannot simply construct and send an email using (e.g.) Indy SMTP
or IMAP components, suitably configured ?



On 28 July 2016 at 15:58, Jolyon Direnko-Smith <jsmith at deltics.co.nz> wrote:

> The mailto URI scheme does not support attachments.
>
> https://tools.ietf.org/html/rfc6068
>
> Specific email clients may provide extensions to the URI scheme that allow
> that email client to support attachments via a mailto: URI but by
> definition these extensions will not be universally supported and so fail
> the test of "working with the user's default email client (whatever that
> may be)".
>
> On 28 July 2016 at 15:33, Robert Martin <rob at chreos.co.nz> wrote:
>
>> Hi All
>>
>> I am trying to open the default system email client with a new email
>> (subject and attachment).  I know about MailTo but that doesn't support
>> file attachments.  I have tried a couple of MAPI functions I got off the
>> web but to no avail (one errors the other just runs and does nothing).
>> Does anyone have code to do this?
>>
>>
>> Cheers
>>
>> Rob
>>
>>
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at listserver.123.net.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
>> Subject: unsubscribe
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20160728/7ed91972/attachment.html 


More information about the Delphi mailing list