mailto:

This forum is for general developer support questions.
Post Reply
User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

mailto:

Post by mritter0 »

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
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 591
Joined: Sat Jun 18, 2011 2:40 am
Location: Portsmouth, UK
Contact:

Re: mailto:

Post by broadblues »

Yes that ought to work.

User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

Re: mailto:

Post by mritter0 »

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
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 591
Joined: Sat Jun 18, 2011 2:40 am
Location: Portsmouth, UK
Contact:

Re: mailto:

Post by broadblues »

Oh yeah it would LOL :-)

User avatar
colinw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 181
Joined: Mon Aug 15, 2011 9:20 am
Location: Brisbane, QLD. Australia.

Re: mailto:

Post by colinw »

If you don't have the launch-handler autodoc, let me know and I can send it to you.

Post Reply