close
Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#236 closed bug (fixed)

YAM 2.6p1 "Mailto"

Reported by: JosDuchIt Owned by:
Priority: undecided Milestone: YAM 2.7
Component: user interface Version: 2.6p1
Severity: major Keywords:
Cc: OS Platform:
Blocked By: Blocking:
Release Notes:

Description

When clicking on Mailto link on a web page, and Yam is not open, it launches YAM & opens a write message. When YAM is allready open and i click on such a link YAM is made active and comes to front, no "write message window" is opened.
I have the same with Netsurf

Attachments (1)

ib2yam.rexx (1.2 KB) - added by tboeckel 4 years ago.
Script to launch YAM with parameters taken from a mailto: link

Download all attachments as: .zip

Change History (9)

comment:1 Changed 4 years ago by tboeckel

No problem here using IBrowse and a mailto: link. I just had to adapt the used ib2yam.rexx script a bit as it was using an invalid abosolute path for the WaitForPort command to wait for YAM to launch. This made the script continue immediately and since YAM was not running properly yet the rest of the script failed silently and of course did not open a new write window.
After the change everything worked perfectly again.

Which browerser are you using (except NetSurf) and how is YAM started when a mailto: link is clicked?

comment:2 Changed 4 years ago by tboeckel

  • Milestone set to YAM 2.7
  • Status changed from new to pending

Any news on this?

comment:3 follow-up: Changed 4 years ago by tboeckel

  • Resolution set to worksforme
  • Status changed from pending to closed

Ok, no answer => no interest to get this fixed. Closing this one...

comment:4 in reply to: ↑ 3 ; follow-up: Changed 4 years ago by Hubert Maier <raziel_nosgoth@…>

Replying to thboeckel:

Ok, no answer => no interest to get this fixed. Closing this one...

Arrgh, i only now saw this :-(

I get the exact same behaviour

Yam is closed:
Clicking on a mailto link starts up YAM, fetches mail and then opens up the write window with the TO: address in place

Yam is running:
Clicking on the link brings YAM to the front and does nothing else unfortunately

Using OWB3.30 and the URL preferences with YAM as MAILTO: reference
settings in URL: Active|YAM|APPDIR:yam|"MAILTO=%s"

AmigaOS4.1 plus latest updates

comment:5 in reply to: ↑ 4 Changed 4 years ago by tboeckel

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Replying to Hubert Maier <raziel_nosgoth@?>:

Yam is closed:
Clicking on a mailto link starts up YAM, fetches mail and then opens up the write window with the TO: address in place

Yam is running:
Clicking on the link brings YAM to the front and does nothing else unfortunately

Using OWB3.30 and the URL preferences with YAM as MAILTO: reference
settings in URL: Active|YAM|APPDIR:yam|"MAILTO=%s"

Ok, now I understand the problem.

The point is the following: if YAM is not yet running and started with suitable options to immediately write a new mail this will be done as requested. Starting YAM a second time while another instance is already running and possibly hidden or iconified this will just cause the first instance to appear and the second instance will quit at once without triggering any new mail stuff.

I will see how we can change YAM to make a second start transfer possible MAILTO options to the first instance. But this will affect YAM 2.7+ only as we don't plan another update to YAM 2.6.

As a workaround I suggest to use a script like the ib2yam.rexx script I mentioned in comment #1. For reference I will attach this one to this ticket.

Changed 4 years ago by tboeckel

Script to launch YAM with parameters taken from a mailto: link

comment:6 Changed 4 years ago by tboeckel

The attached ib2yam.rexx script is in no way limited to be used with IBrowse only. I should be possible to use it with any browser.

Just call is like this: ib2yam.rexx "address"|"subject"|"body"

comment:7 Changed 4 years ago by tboeckel

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [5550]) * YAM.c, Rexx.c: starting YAM a second time with startup options to compose a

new mail will now pass these options via ARexx to the already running
instance. Before the first instance would just have popped up and the new
mail options were completely ignored. This closes #236.

comment:8 Changed 3 years ago by damato

  • Component changed from undefined to user interface

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber

  • Joseph Duchâtelet(Reporter)