How to send EMails form MsProject VBA?


H

Hollomey

Hi,

how can I produce and send an email from an msproject vba programm?

Thanks
Florian
 
Ad

Advertisements

D

David Stumbles

G'day Florian,

Use Application.MailSend

Check out how to and see its features in the help files.

You get to set:
- To (who to send it to)
- Cc (who to send copies to)
- Subject
- Body (what text you want to appear in the body of the e-
mail)
- Enclosures (files to include with the message, ie
attachments)
- IncludeDocument (whether to attach the current project)
- ReturnReceipt

I hope this helps,

Dave.
 
G

Gérard DUCOURET

Hello,
Try this :

MailSendProjectMail MessageType:="TeamStatus", Body:="You have 3 minutes to tell me what you have
done all day long"
 
Ad

Advertisements

J

Jack D.

Hollomey said:
Hi,

how can I produce and send an email from an msproject vba programm?

Thanks
Florian
You can use the Mailsend method.
Here is the syntax:

expression.MailSend(To, Cc, Subject, Body, Enclosures, IncludeDocument,
ReturnReceipt, Bcc, Urgent, SaveCopy, AddRecipient)


--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP


+++++++++++++++++++
 
Ad

Advertisements


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