Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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?

Reply With Quote
  #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
Reply With Quote
  #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


;)

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.