Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA 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
 
Old September 10th, 2003, 09:53 PM
Registered User
 
Join Date: Sep 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Auto-Emailing2

I'm using VB codes as below for automatically email the respective recipients when conditions in EXCEL are satisfied.

'SENDER DETAILS

    EM.Reset
    EM.Clear True
    EM.Domain = "engineer.com"
    EM.From = "[email protected]"
    EM.FromAddr = "[email protected]"
    EM.Replyto = "[email protected]"
    EM.HTML = True
    EM.MailServer = "10.8.0.100"

    'THE SUBJECT
    EM.Subject = "ALERT: Gas CO in ABC123 will be expiring soon - Reported on :" & Now
    EM.LicenseKey = "This control licensed to LSI Logic only. " & _
    "Registration#6970037994f2. (c)1997 Quiksoft Corporation. All Rights " & _
    "Reserved. Unauthorized use prohibited. This text can not be duplicated " & _
    "without license."
    EM.AutoWrap = True


EM.AddRecipient "mukhzeer", "[email protected]", 1


The problem here is , few emails need to be sent out, BUT I dont want to put it manually in VB code as above. Can someone help me in writing codes so that it can read email address written in EXCEL

 
Old September 11th, 2003, 11:56 PM
Registered User
 
Join Date: Aug 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think you will find all of the answers here > http://www.rondebruin.nl/sendmail.htm.

Kieran





Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Insert neebski PHP How-To 3 September 20th, 2007 06:26 PM
Auto increment prad_a MySQL 3 April 7th, 2007 05:47 AM
Auto Execution !!! dpkbahuguna ASP.NET 1.0 and 1.1 Basics 0 February 1st, 2007 01:37 AM
Auto Refresh and Auto Delete deontae45 VB.NET 2002/2003 Basics 1 September 29th, 2006 04:53 PM
[b]Auto Number[/b] vanjamier Classic ASP Databases 1 November 18th, 2004 03:44 AM





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