Recent

Author Topic: open mail from lazarus on mac  (Read 5146 times)

justanotherjay

  • New Member
  • *
  • Posts: 13
open mail from lazarus on mac
« on: February 15, 2012, 10:34:55 am »
Hello,

the mac i am using have a mail client called "mail". I wish to open the send mail window of the mail client containing a report, a receiver and a header from lazarus.

Are there any components which supports those function?
At windows i found an api called mapi which supports it. Mapi seems to work with win api calls and i cant use it on mac.

greetings

Shebuka

  • Sr. Member
  • ****
  • Posts: 429
Re: open mail from lazarus on mac
« Reply #1 on: February 15, 2012, 10:42:08 am »
you can use OpenUrl with mailto encoded as you wish.

justanotherjay

  • New Member
  • *
  • Posts: 13
Re: open mail from lazarus on mac
« Reply #2 on: February 15, 2012, 10:47:34 am »
but then i cant add any content neither attachments, right?

Shebuka

  • Sr. Member
  • ****
  • Posts: 429
Re: open mail from lazarus on mac
« Reply #3 on: February 15, 2012, 12:45:51 pm »
but then i cant add any content neither attachments, right?
No attachments, but you can write what you want in body

http://en.wikipedia.org/wiki/Mailto

justanotherjay

  • New Member
  • *
  • Posts: 13
Re: open mail from lazarus on mac
« Reply #4 on: February 15, 2012, 01:42:29 pm »
well, if i can't add attachments it's not a solution for me :(

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: open mail from lazarus on mac
« Reply #5 on: February 15, 2012, 02:02:07 pm »
LNet supports sending e-mails with attachment. I already used it in Windows desktop and WinCE.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: open mail from lazarus on mac
« Reply #6 on: February 15, 2012, 03:46:13 pm »
Hello,

the mac i am using have a mail client called "mail". I wish to open the send mail window of the mail client containing a report, a receiver and a header from lazarus.

Are there any components which supports those function?


http://www.cocoadev.com/index.pl?SendingEmail

Thanks.

-Phil

 

TinyPortal © 2005-2018