[AccessD] 2 email attachments

Elizabeth Carter Elizabeth.Carter at telus.com
Mon Dec 8 11:33:23 CST 2003


The only thing that I see is that the second call to attachments.add is commented out.

Liz

-----Original Message-----
From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com]
Sent: December 8, 2003 9:14 AM
To: 'Access Developers discussion and problem solving'
Subject: RE: [AccessD] 2 email attachments 


I don't see anything wrong with your example code. For each file you need to
attach you call the Mail Item's Add method, just as you indicate.

Are you getting an error message? If so, what?

Lambert

> -----Original Message-----
> From:	Oleg_123 at xuppa.com [SMTP:Oleg_123 at xuppa.com]
> Sent:	Monday, December 08, 2003 12:04 PM
> To:	accessd at databaseadvisors.com
> Subject:	[AccessD] 2 email attachments 
> 
> Hey Group,
> Daoes anyone know how to make 2 attachments on a single message ?
> 
> Set objM = objO.CreateItem(olMailItem)
>     With objM
>     .To = "Michael at xx.com"
>     .CC = "Rebecca at xx.com"
>     .Subject = "HED " & dtSdate
>     .Attachments.Add sJAdir & "HED" & dtEdate & "-Term" & ".xls"
>     '.Attachments.Add sJAdir & "HED" & dtEdate & "-Hire" & ".xls"
>     .Send
> 
> End With
> Set objM = Nothing
> 
> 
> -----------------------------------------
> Get Breaking News from CNN, ABC, NBC, CBS Now.
> http://www.xuppa.com/news/?link=webmail
> 
> 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list