Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #11 (permalink)  
Old December 7th, 2006, 12:35 PM
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I am having similar problems. I have an Excel document which contains email addresses in cells A1 to An and I want to email all of these people a zip file. I want to write a macro to do this and the computer I'm using does not have Outlook on it but it does have Groupwise.

Any idea how I can do this?

  #12 (permalink)  
Old December 7th, 2006, 12:52 PM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

I would pull in the spreadsheet to a local file, and then loop through the recrds to send individual or group email using the code I pasted above.

mmcdonal
  #13 (permalink)  
Old December 27th, 2006, 05:51 PM
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey guys i am new member in this forum but here is one which you guys might like...

With the little VBA in excel that i have... I have made this code... Hope this help


Sub Sending_Emails()
Dim Message
    Set Message = CreateObject("CDO.Message")
    Message.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
    Message.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = 'Exchange Server IP Address'
    Message.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
    Message.Configuration.Fields.Update
  With Message
    .from = "yourID@Yourid.com"
    .to = "chuchu@chuchu.com"
    .Subject = "Text"
    .TextBody = "Hellos"
    .Addattachment "C:\IO.SYS"
    .Send
  End With
End Sub


;)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Attachment rat07 PHP How-To 1 June 19th, 2007 01:27 PM
Email Attachment Code kunal_shiradkar SQL Server 2000 1 March 27th, 2007 09:59 AM
Dynamic EMAil Attachment nowzarthbawa XML 0 March 29th, 2005 01:58 AM
email an attachment GeoMeskin Javascript 1 December 17th, 2003 04:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.