Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Default body when doing "sent to" "mail recipient"

935 views
Skip to first unread message

Big_Al

unread,
Feb 17, 2014, 11:20:16 PM2/17/14
to
This is the canned body when in Windows you right click on a file and
you do 'send to' -> mail recipient.

"
Your message is ready to be sent with the following file or link
attachments:
What we do all day in Marathon complete.zip.003

Note: To protect against computer viruses, e-mail programs may prevent
sending or receiving certain types of file attachments. Check your
e-mail security settings to determine how attachments are handled.
"


Does anyone know if this can be changed? Or even if it can be changed.

Dan Purgert

unread,
Feb 18, 2014, 6:48:17 AM2/18/14
to
On 17/02/2014 23:20, Big_Al wrote:
> This is the canned body when in Windows you right click on a file and
> you do 'send to' -> mail recipient.
>
> [...]
>
> Does anyone know if this can be changed? Or even if it can be changed.
>

It's a Windows thing, and not a TB thing. Did a real quick google search and
found the following - http://office-watch.com/t/n.aspx?a=1682

Not sure if it'll actually help you out, but it looks like it covers what you
want to do.

-Dan

Gabor

unread,
Feb 18, 2014, 10:27:15 AM2/18/14
to
Those instructions are for Outlook or OE. For TB I found that
this works (in the short cut) to generate a completely blank
compose window (no subject or body) and just the attachment:

"<full_path>\thunderbird.exe" -compose "attachment="

YMMV

--
Gabor

Gabor

unread,
Feb 18, 2014, 10:33:03 AM2/18/14
to
Here's a version with subject and body. Note that TB doesn't like
spaces between arguments - just commas. I didn't figure out how
to get the file name in the subject line, though.

"<full_path>\thunderbird.exe" -compose "body='here is your
stuff',subject='file you requested',attachment="

--
Gabor

Dan Purgert

unread,
Feb 18, 2014, 11:12:28 AM2/18/14
to Gabor
Yeah, sorry about that - replied to your inquiry in between doing other things,
and forgot to mention it was an outlook tutorial...

Doesn't help that I keep forgetting that everyone always writes the tutorials
for Outlook (or $MS_Product) instead of alternatives (TB, SeaMonkey, etc) in
"Windows Land".

-Dan

Gabor

unread,
Feb 18, 2014, 1:56:54 PM2/18/14
to
Now here's a funny problem. While the conmposition window clearly
shows the attachment when I start it this way, the attachment
doesn't actually get sent. What could cause that?

--
Gabor

Gabor

unread,
Feb 18, 2014, 2:37:41 PM2/18/14
to
OK, I'll have to try this at home. Here I'm running TB 2.0.0.24
and the Mozillazine article says:

"attachment' : specify the directory and the name of an attachment
the value should be a file:// url, properly encoded
with tb3+, you can alternatively use the absolute file name (unencoded)

I don't see a way in the Windows send-to shortcut to form a file://
url from the given path. Maybe someone with the latest TB can try this.

--
Gabor

Big_Al

unread,
Feb 18, 2014, 3:20:22 PM2/18/14
to

Dan Purgert said on 2/18/2014 11:12 AM:
People do put blinders on don't they. LOL

Gabor

unread,
Feb 19, 2014, 10:28:46 AM2/19/14
to
OK, I tried it at home with an up-to-date TB and it behaves the same.
In the attachment box I see the full path of the file. Normally you
only see the file name. If I right click on it and select "open"
nothing happens. Sending the e-mail results in no attachment.

--
Gabor

Gabor

unread,
Feb 20, 2014, 2:35:49 PM2/20/14
to
O.K. I went to the Mozillazine forums and got help with this. I found
it can be done using a VB script instead of a link. In the SendTo
folder create a new text document and paste the following into it:

Option Explicit
Dim objShell
Set objShell = CreateObject("WScript.Shell")
objShell.Exec("<path>\thunderbird.exe -compose subject='Requested
document',body='See attached',attachment='" & "file:///" &
WScript.Arguments(0) & "'")
Set objShell = Nothing

Change the subject and body text as desired, or leave them out if you
want them to be blank. Note that single quotes (apostrophes) enclose
the text arguments for subject and body.

Rename the file with a .vbs extension. Then in the send to... context
menu of Windows Explorer you should see the name of the file you just
created. Use that to open a compose window with file attached.

HTH,
Gabor

Gabor

unread,
Feb 20, 2014, 2:37:54 PM2/20/14
to
Gabor wrote:
> Big_Al wrote:
>> This is the canned body when in Windows you right click on a file and
>> you do 'send to' -> mail recipient.
>>
>> "
>> Your message is ready to be sent with the following file or link
>> attachments:
>> What we do all day in Marathon complete.zip.003
>>
>> Note: To protect against computer viruses, e-mail programs may prevent
>> sending or receiving certain types of file attachments. Check your
>> e-mail security settings to determine how attachments are handled.
>> "
>>
>>
>> Does anyone know if this can be changed? Or even if it can be changed.
>
> O.K. I went to the Mozillazine forums and got help with this. I found
> it can be done using a VB script instead of a link. In the SendTo
> folder create a new text document and paste the following into it:
>
> Option Explicit
> Dim objShell
> Set objShell = CreateObject("WScript.Shell")
> objShell.Exec("<path>\thunderbird.exe -compose subject='Requested
> document',body='See attached',attachment='" & "file:///" &
> WScript.Arguments(0) & "'")
> Set objShell = Nothing
>
> Change the subject and body text as desired, or leave them out if you
> want them to be blank. Note that single quotes (apostrophes) enclose
> the text arguments for subject and body.

Forgot to add, if it wasn't obvious, that <path> needs to be replaced
by the actual path to TB on your system.

> Rename the file with a .vbs extension. Then in the send to... context
> menu of Windows Explorer you should see the name of the file you just
> created. Use that to open a compose window with file attached.
>
> HTH,
> Gabor

--
Gabor
0 new messages