|
|
| Next: Interoperability with other mail clients - questi.. |
| Author |
Message |
Robert Bogue [MVP] External

Since: Aug 20, 2005 Posts: 2
|
Posted: Sat Aug 20, 2005 2:11 pm Post subject: MailTo: link with attachments Archived from groups: microsoft>public>outlook>interop (more info?) |
|
|
Does anyone know how to form a mailto: link in a web page to make it launch
Outlook and attach a file? I want to extend SharePoint to allow emailing
directly from a document library but I can't seem to figure out how to get
the link right to cause Outlook to attach a file.
Rob
--
Robert L. Bogue, MS MVP, MCSE, MCSA:Security, Etc.
Blog: http://www.thorprojects.com/blog |
|
| Back to top |
|
 |
BillR [MVP] External

Since: Jul 13, 2004 Posts: 1432
|
Posted: Sun Aug 21, 2005 10:41 pm Post subject: Re: MailTo: link with attachments [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
I'm not sure about with mailto but the /a switch can be used with Outlook.
A Help search in Outlook on "command-line switches" gives details.
Naturally, since this is an Outlook-only switch and you need the path to
Outlook there are limitations (as well as possibly limitations imposed by
file access from the Web).
"Robert Bogue [MVP]" wrote in message
> Does anyone know how to form a mailto: link in a web page to make it
> launch Outlook and attach a file? I want to extend SharePoint to allow
> emailing directly from a document library but I can't seem to figure out
> how to get the link right to cause Outlook to attach a file.
>
> Rob
>
> --
> Robert L. Bogue, MS MVP, MCSE, MCSA:Security, Etc.
> Blog: http://www.thorprojects.com/blog
> |
|
| Back to top |
|
 |
Charlie Gotwald External

Since: Sep 01, 2005 Posts: 9
|
Posted: Tue Aug 23, 2005 9:19 am Post subject: RE: MailTo: link with attachments [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Well I know how it used to work in Office 2000... That is why I'm here.
In Excel2K I used
ActiveCell.Hyperlinks.Add Anchor:=ActiveCell.Range("a1"),
Address:="mailto:OffNormal?subject=Off Normal List for
08/23/2005&attachments=""" & sFile & """", TextToDisplay:="eMail OffNormal"
to create an email link for ease of sending the newly created spreadsheet to
the people on the Offnormal distribution list. Why does this mailto link no
longer work with Office2003? This should help you Robert, now I'm asking for
a little input for me!
"Robert Bogue [MVP]" wrote:
> Does anyone know how to form a mailto: link in a web page to make it launch
> Outlook and attach a file? I want to extend SharePoint to allow emailing
> directly from a document library but I can't seem to figure out how to get
> the link right to cause Outlook to attach a file.
>
> Rob
>
> --
> Robert L. Bogue, MS MVP, MCSE, MCSA:Security, Etc.
> Blog: http://www.thorprojects.com/blog
>
>
> |
|
| Back to top |
|
 |
Charlie Gotwald External

Since: Sep 01, 2005 Posts: 9
|
Posted: Tue Aug 23, 2005 9:37 am Post subject: RE: MailTo: link with attachments [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Allow me to clean that link up for you...
mailto:Bob@domain.com?subject=Off Normal List for
08/23/2005&attachments="C:\Temp\File.txt"
"Charlie Gotwald" wrote:
> Well I know how it used to work in Office 2000... That is why I'm here.
>
> In Excel2K I used
>
> ActiveCell.Hyperlinks.Add Anchor:=ActiveCell.Range("a1"),
> Address:="mailto:OffNormal?subject=Off Normal List for
> 08/23/2005&attachments=""" & sFile & """", TextToDisplay:="eMail OffNormal"
>
> to create an email link for ease of sending the newly created spreadsheet to
> the people on the Offnormal distribution list. Why does this mailto link no
> longer work with Office2003? This should help you Robert, now I'm asking for
> a little input for me!
>
> "Robert Bogue [MVP]" wrote:
>
> > Does anyone know how to form a mailto: link in a web page to make it launch
> > Outlook and attach a file? I want to extend SharePoint to allow emailing
> > directly from a document library but I can't seem to figure out how to get
> > the link right to cause Outlook to attach a file.
> >
> > Rob
> >
> > --
> > Robert L. Bogue, MS MVP, MCSE, MCSA:Security, Etc.
> > Blog: http://www.thorprojects.com/blog
> >
> >
> > |
|
| Back to top |
|
 |
Robert Bogue [MVP] External

Since: Aug 20, 2005 Posts: 2
|
Posted: Wed Aug 24, 2005 6:54 am Post subject: Re: MailTo: link with attachments [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Charlie:
I'd answer your questions if I could ... I suspect we're dealing with
another "security enhancement" but I'm not sure how to work around it or if
it can be worked around.
--
Robert L. Bogue, MS MVP, MCSE, MCSA:Security, Etc.
Blog: http://www.thorprojects.com/blog
"Charlie Gotwald" wrote in
message
> Allow me to clean that link up for you...
>
> mailto:Bob@domain.com?subject=Off Normal List for
> 08/23/2005&attachments="C:\Temp\File.txt"
>
> "Charlie Gotwald" wrote:
>
>> Well I know how it used to work in Office 2000... That is why I'm here.
>>
>> In Excel2K I used
>>
>> ActiveCell.Hyperlinks.Add Anchor:=ActiveCell.Range("a1"),
>> Address:="mailto:OffNormal?subject=Off Normal List for
>> 08/23/2005&attachments=""" & sFile & """", TextToDisplay:="eMail
>> OffNormal"
>>
>> to create an email link for ease of sending the newly created spreadsheet
>> to
>> the people on the Offnormal distribution list. Why does this mailto link
>> no
>> longer work with Office2003? This should help you Robert, now I'm asking
>> for
>> a little input for me!
>>
>> "Robert Bogue [MVP]" wrote:
>>
>> > Does anyone know how to form a mailto: link in a web page to make it
>> > launch
>> > Outlook and attach a file? I want to extend SharePoint to allow
>> > emailing
>> > directly from a document library but I can't seem to figure out how to
>> > get
>> > the link right to cause Outlook to attach a file.
>> >
>> > Rob
>> >
>> > --
>> > Robert L. Bogue, MS MVP, MCSE, MCSA:Security, Etc.
>> > Blog: http://www.thorprojects.com/blog
>> >
>> >
>> > |
|
| Back to top |
|
 |
Charlie Gotwald External

Since: Sep 01, 2005 Posts: 9
|
Posted: Wed Aug 24, 2005 6:54 am Post subject: Re: MailTo: link with attachments [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
You're probably right there. I just wish MS would read some of the things
their customers are asking. Maybe they could tell us how to re-establish our
working remedies to our daily processes.
"Robert Bogue [MVP]" wrote:
> Charlie:
>
> I'd answer your questions if I could ... I suspect we're dealing with
> another "security enhancement" but I'm not sure how to work around it or if
> it can be worked around.
>
> --
> Robert L. Bogue, MS MVP, MCSE, MCSA:Security, Etc.
> Blog: http://www.thorprojects.com/blog
> "Charlie Gotwald" wrote in
> message
> > Allow me to clean that link up for you...
> >
> > mailto:Bob@domain.com?subject=Off Normal List for
> > 08/23/2005&attachments="C:\Temp\File.txt"
> >
> > "Charlie Gotwald" wrote:
> >
> >> Well I know how it used to work in Office 2000... That is why I'm here.
> >>
> >> In Excel2K I used
> >>
> >> ActiveCell.Hyperlinks.Add Anchor:=ActiveCell.Range("a1"),
> >> Address:="mailto:OffNormal?subject=Off Normal List for
> >> 08/23/2005&attachments=""" & sFile & """", TextToDisplay:="eMail
> >> OffNormal"
> >>
> >> to create an email link for ease of sending the newly created spreadsheet
> >> to
> >> the people on the Offnormal distribution list. Why does this mailto link
> >> no
> >> longer work with Office2003? This should help you Robert, now I'm asking
> >> for
> >> a little input for me!
> >>
> >> "Robert Bogue [MVP]" wrote:
> >>
> >> > Does anyone know how to form a mailto: link in a web page to make it
> >> > launch
> >> > Outlook and attach a file? I want to extend SharePoint to allow
> >> > emailing
> >> > directly from a document library but I can't seem to figure out how to
> >> > get
> >> > the link right to cause Outlook to attach a file.
> >> >
> >> > Rob
> >> >
> >> > --
> >> > Robert L. Bogue, MS MVP, MCSE, MCSA:Security, Etc.
> >> > Blog: http://www.thorprojects.com/blog
> >> >
> >> >
> >> >
>
>
> |
|
| Back to top |
|
 |
Charlie Gotwald External

Since: Sep 01, 2005 Posts: 9
|
Posted: Thu Aug 25, 2005 11:59 am Post subject: RE: MailTo: link with attachments [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Robert, I FOUND THE ANSWER!
mailto:Bob@domain.com?subject=Off Normal List for
08/23/2005&attachments=""C:\Temp\File.txt""
THE DOUBLE QUOTES ARE THE KEY! Thank you Microsoft for again messing with
something that truly worked!
This worked when creating a hypertext link in an Excel spreadsheet cell. I
had to check the version of the application (11.0) to know whether to use
double quotes or not (Double quotes fails when using Outlook 2000 [Version
9.0])
"Robert Bogue [MVP]" wrote:
> Does anyone know how to form a mailto: link in a web page to make it launch
> Outlook and attach a file? I want to extend SharePoint to allow emailing
> directly from a document library but I can't seem to figure out how to get
> the link right to cause Outlook to attach a file.
>
> Rob
>
> --
> Robert L. Bogue, MS MVP, MCSE, MCSA:Security, Etc.
> Blog: http://www.thorprojects.com/blog
>
>
> |
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|