Mailto Protocol

Discussion in 'Windows Server' started by f0ster, Mar 23, 2014.

  1. f0ster

    f0ster MDL Junior Member

    Nov 10, 2012
    51
    3
    0
    I have a 2012 server with Remote Desktop services. I push outlook to my PC via rds. When I click a link to send email, I need to use the pushed outlook. Does anyone know how to do this? My client is windows 7. I have tried using a registry entry but get an error, something to the effect of "mail client not installed properly".
     
  2. Dave101

    Dave101 MDL Junior Member

    Feb 27, 2014
    56
    1
    0
    i do not know what u mean, please use screen shots.
     
  3. f0ster

    f0ster MDL Junior Member

    Nov 10, 2012
    51
    3
    0
    #3 f0ster, Mar 28, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    So, i have outlook "pushed" to my desktop from RDS 2012. When i want to click any mailto: link, like so:

    Capture.JPG

    I need the protocol to use the RDS outlook. Then i get the following:

    Capture1.JPG

    Which, that looks like it might work but then when i click allow:

    Capture3.JPG

    I have used the registry to try and use the outlook pushed to my desktop:

    Code:
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\mailto]
    @="URL:MailTo Protocol"
    "URL Protocol"=""
    "EditFlags"=hex:02,00,00,00
    [HKEY_CLASSES_ROOT\mailto\DefaultIcon]
    @="C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).ico,-9403"
    [HKEY_CLASSES_ROOT\mailto\shell]
    @="open"
    [HKEY_CLASSES_ROOT\mailto\shell\open]
    [HKEY_CLASSES_ROOT\mailto\shell\open\command]
    @="\""C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).rdp" -c IPM.Note /mailto \"%1\""
    [HKEY_CLASSES_ROOT\mailto\shell\open\command]
    @="\""C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).rdp" -c IPM.Note /mailto \"%1\""
    [HKEY_CLASSES_ROOT\Outlook.URL.mailto.15]
    @="URL:MailTo Protocol"
    "URL Protocol"=""
    "EditFlags"=hex:02,00,00,00
    [HKEY_CLASSES_ROOT\Outlook.URL.mailto.15\DefaultIcon]
    @="C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).ico,-9403"
    [HKEY_CLASSES_ROOT\Outlook.URL.mailto.15\shell]
    @="open"
    [HKEY_CLASSES_ROOT\Outlook.URL.mailto.15\shell\open]
    [HKEY_CLASSES_ROOT\Outlook.URL.mailto.15\shell\open\command]
    @="\"C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).rdp" -c IPM.Note /mailto \"%1\""
    [HKEY_CLASSES_ROOT\Outlook.URL.mailto.15\shell\open\command]
    @="\"C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).rdp" -c IPM.Note /mailto \"%1\""
    [HKEY_CLASSES_ROOT\PROTOCOLS\Handler\mailto]
    "CLSID"="{3050f3DA-98B5-11CF-BB82-00AA00BDCE0B}"
    [HKEY_CLASSES_ROOT\Wow6432Node\PROTOCOLS\Handler\mailto]
    "CLSID"="{3050f3DA-98B5-11CF-BB82-00AA00BDCE0B}"
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Protocols\Mailto]
    "UTF8Encoding"=dword:00000001
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto]
    @="URL:MailTo Protocol"
    "URL Protocol"=""
    "EditFlags"=hex:02,00,00,00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\DefaultIcon]
    @="C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).ico,-9403"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell]
    @="open"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell\open]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell\open\command]
    @="\"C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).rdp" -c IPM.Note /mailto \"%1\""
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell\open\command]
    @="\"C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).rdp" -c IPM.Note /mailto \"%1\""
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Outlook.URL.mailto.15\shell\open\command]
    @="\"C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).rdp" -c IPM.Note /mailto \"%1\""
    [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Microsoft Outlook\Protocols\mailto]
    @="URL:MailTo Protocol"
    "URL Protocol"=""
    "EditFlags"=hex:02,00,00,00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Microsoft Outlook\Protocols\mailto\DefaultIcon]
    @="C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).ico,-9403"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Microsoft Outlook\Protocols\mailto\shell]
    @="open"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Microsoft Outlook\Protocols\mailto\shell\open]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Microsoft Outlook\Protocols\mailto\shell\open\command]
    @="\"C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).rdp" -c IPM.Note /mailto \"%1\""
    [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Microsoft Outlook\Protocols\mailto\shell\open\command]
    @="\"C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).rdp" -c IPM.Note /mailto \"%1\""
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\Outlook\Capabilities\UrlAssociations]
    "mailto"="Outlook.URL.mailto.15"
    "stssync"="Outlook.URL.stssync.15"
    "webcal"="Outlook.URL.webcal.15"
    "webcals"="Outlook.URL.webcal.15"
    "feed"="Outlook.URL.feed.15"
    "feeds"="Outlook.URL.feed.15"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\Mail\Microsoft Outlook\Protocols\mailto]
    @="URL:MailTo Protocol"
    "URL Protocol"=""
    "EditFlags"=hex:02,00,00,00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\Mail\Microsoft Outlook\Protocols\mailto\DefaultIcon]
    @="C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).ico,-9403"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\Mail\Microsoft Outlook\Protocols\mailto\shell]
    @="open"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\Mail\Microsoft Outlook\Protocols\mailto\shell\open]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\Mail\Microsoft Outlook\Protocols\mailto\shell\open\command]
    @="\"C:\\PROGRA~1\\MICROS~1\\Office15\\OUTLOOK.EXE\" -c IPM.Note /mailto \"%1\""
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\Mail\Microsoft Outlook\Protocols\mailto\shell\open\command]
    @="\""C:\\Users\\Public\\Documents\\RemotePackages\\Outlook 2013 (Work Resources).rdp" -c IPM.Note /mailto \"%1\""
    So, outlook is physically installed on the RDS server, so i exported these from that server registry and modified the .reg file to fit the location of the "pushed" outlook.