Advertisement

08.05.2008 at 12:16PM PDT, ID: 23623482
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.4

How do I attach and imbed an image into an outlook email using an event procudure from access 2003?

Asked by powerman9 in Access Coding/Macros, Microsoft Access Database, Outlook Groupware Software

Tags: , ,

I currently have an access 2003 database that automatically creates an email in outlook 2003 using the .htmlbody body function.  I have figured out how to format and insert data using html code.  What I would like to do is attach and embed a company logo at the top of the email body as part of the automation.  How do I do this.  I have attached the code I am using below.  The file is stored on a local machine and I would rather not park the image on a webserver as it will be taken for spam.  (The emails are intended for clients so it's not a blast).  The image is parked on the local disk of the machine.  Is there a way to add code to do this?Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
Private Sub Command79_Click()
 
Dim objOutlook                  As Outlook.Application
Dim objOutlookMsg               As Outlook.MailItem
Dim objOutlookRecip             As Outlook.Recipient
Dim objOutlookAttach            As Outlook.Attachment
 
 
' Create the Outlook session.
Set objOutlook = CreateObject("Outlook.Application")
' Create the message.
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
    With objOutlookMsg
        
        .To = Nz(Parent![Email Address])
        .HTMLBody = "<html><style type=""text/css""> table {font:normal normal normal 10pt/10pt arial} </style><table><body><tr><td>PROJECT:</td><td>&nbsp" & Me!PROJECT & "</td></tr><tr><td><al>WHEN</al></td><td>&nbsp" & Format(Me!Date, "long date") & "&nbsp@&nbsp" & Format(Me!Time, "medium time") & "</td></tr><tr><td><al>COMPANY</al></td><td.&nbsp" & Me!COMPANY & "</td></tr></body></table></body></html>"
        .Save
        'Dispay email before sending.
        .Display
 
    End With
 
'Cleanup Code
Set objOutlookMsg = Nothing
Set objOutlook = Nothing
Set objOutlookRecip = Nothing
Set objOutlookAttach = Nothing
 
End Sub
 
Loading Advertisement...
 
[+][-]08.05.2008 at 12:26PM PDT, ID: 22164201

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 12:40PM PDT, ID: 22164345

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 12:41PM PDT, ID: 22164370

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 12:56PM PDT, ID: 22164545

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 01:09PM PDT, ID: 22164660

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 01:19PM PDT, ID: 22164757

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 01:27PM PDT, ID: 22164859

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Coding/Macros, Microsoft Access Database, Outlook Groupware Software
Tags: Microsoft, Access / Outlook, 2003
Sign Up Now!
Solution Provided By: omgang
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628