how to send e-mail

A

Alex

What code could I use to send an e-mail message.
I've generated all events and I just need this code to send the e-mail.

Private Sub oApp_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI As
Boolean, Cancel As Boolean)
Dim strFileName As String

strFileName = ActiveDocument.FullName

??? Code for the e-mail that in the strFileName some changes have been made.

Thanks
 
J

Jay Freedman

Alex said:
What code could I use to send an e-mail message.
I've generated all events and I just need this code to send the
e-mail.

Private Sub oApp_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI As
Boolean, Cancel As Boolean)
Dim strFileName As String

strFileName = ActiveDocument.FullName

??? Code for the e-mail that in the strFileName some changes have
been made.

Thanks

Hi Alex,

See http://word.mvps.org/FAQs/InterDev/SendMail.htm.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top