mailto:

This forum is for general developer support questions.

mailto:

Postby mritter0 » Wed May 02, 2018 1:59 am

To open a web link:
Code: Select all
      if ((URLLock=IDOS->Open("URL:http://www.mritter0.com/forum",MODE_OLDFILE)))
         IDOS->Close(URLLock);



To open an email program via link:
Code: Select all
      if ((URLLock=IDOS->Open("mailto:support@mritter0.com",MODE_OLDFILE)))
         IDOS->Close(URLLock);


Is that how to open your email program from an About window? I don't have email set up on my Amiga since I use GMail.
Workbench Explorer - A better way to browse drawers
User avatar
mritter0
 
Posts: 212
Joined: Mon Aug 25, 2014 10:41 pm
Location: Bettendorf, IA, USA

Re: mailto:

Postby broadblues » Wed May 02, 2018 11:13 pm

Yes that ought to work.
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 538
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK

Re: mailto:

Postby mritter0 » Thu May 03, 2018 12:04 am

Code: Select all
      if ((URLLock=IDOS->Open("URL:mailto:support@mritter0.com",MODE_OLDFILE)))
         IDOS->Close(URLLock);


Needs the URL: in there, too.
Workbench Explorer - A better way to browse drawers
User avatar
mritter0
 
Posts: 212
Joined: Mon Aug 25, 2014 10:41 pm
Location: Bettendorf, IA, USA

Re: mailto:

Postby broadblues » Thu May 03, 2018 1:22 pm

Oh yeah it would LOL :-)
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 538
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK

Re: mailto:

Postby colinw » Fri May 04, 2018 2:54 am

If you don't have the launch-handler autodoc, let me know and I can send it to you.
User avatar
colinw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 169
Joined: Mon Aug 15, 2011 10:20 am
Location: Brisbane, QLD. Australia.


Return to General Developer Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron