A Microsoft Word forum. Microsoft Office Word Forum - WordBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » Microsoft Word Help
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Send as attachment doesn't send e-mail



 
 
Thread Tools Display Modes
  #1  
Old January 30th 08, 03:57 PM posted to microsoft.public.word.docmanagement
Kim K
external usenet poster
 
Posts: 47
Default Send as attachment doesn't send e-mail

In Word 2007, when sending a document as an attachment, the e-mail does not
send when I click "send". I have to go to the Outlook and click 'send and
receive' to get it to go. Then, the e-mail message doesn't close after it's
sent; I have to right-click on the message on the toolbar and close it that
way. The document I was sending was saved as a Word 97-2000 document (the
recipient doesn't have the 2007 version of Word). Does that have something
to do with it?




Ads
  #2  
Old January 31st 08, 07:05 AM posted to microsoft.public.word.docmanagement
Graham Mayor
external usenet poster
 
Posts: 19,312
Default Send as attachment doesn't send e-mail

The recipient has nothing to do with it.
Whether messages are sent instantly or saved in the outbox is a setting in
Outlook's options.
As for the message remaining on screen, that appears to happen here too, so
may be 'by design'. You can get around it by using the following macro
instead. I have marked out some of the common options which you can restore
if you need them.

Sub Send_As_Mail_Attachment()

' send the document as an attachment _
in an Outlook Email message

Dim bStarted As Boolean
Dim oOutlookApp As Outlook.Application
Dim oItem As Outlook.MailItem

On Error Resume Next
'Prompt the user to save the document
ActiveDocument.Save
'Get Outlook if it's running
Set oOutlookApp = GetObject(, "Outlook.Application")

'Outlook wasn't running, start it from code
If Err 0 Then
Set oOutlookApp = CreateObject("Outlook.Application")
bStarted = True
End If

'Create a new mailitem
Set oItem = oOutlookApp.CreateItem(olMailItem)

With oItem
'.To = "
'Set the recipient for a copy
'.BCC = "
'.Subject = "This is the subject"
'Add the document as an attachment, you can use the _
.displayname property
'to set the description that's used in the message
.Attachments.Add Source:=ActiveDocument.FullName, _
Type:=olByValue, DisplayName:="Document as attachment"
.Display
End With

'Clean up
Set oItem = Nothing
Set oOutlookApp = Nothing
End Sub

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Kim K wrote:
In Word 2007, when sending a document as an attachment, the e-mail
does not send when I click "send". I have to go to the Outlook and
click 'send and receive' to get it to go. Then, the e-mail message
doesn't close after it's sent; I have to right-click on the message
on the toolbar and close it that way. The document I was sending was
saved as a Word 97-2000 document (the recipient doesn't have the 2007
version of Word). Does that have something to do with it?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
send to mail recipient ( as Attachment) the email will not send. [email protected] Microsoft Word Help 4 May 30th 07 02:11 PM
Send To: Mail Recipiant (as attachment) Not Available RG Microsoft Word Help 2 May 8th 05 06:06 PM
Send to mail recipient as attachment wynswid Microsoft Word Help 1 March 28th 05 11:59 PM
How do you send an e-mail resume without it being an attachment? Dian Microsoft Word Help 1 March 12th 05 09:57 PM
Why isn't Send To Mail Recipient as Attachment available? jskinn Microsoft Word Help 1 January 21st 05 08:09 PM


All times are GMT +1. The time now is 01:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 2004-2014 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.