send email from query

Posted on 2005-05-10
Last Modified: 2010-05-02
I have a query that returns records based on  a date diff. one of the fields returned in the record is email
address. I would like to auto send an email based on the query returns saying "your reservation will
expire in 2 days".

Question by:tmurray22
    LVL 69

    Expert Comment

    by:Éric Moreau
    for my e-mail needs in VB6, I always use
    LVL 18

    Expert Comment

    I second emoreau. This is the best email component available. Also look at the following link which provides a very good example of how to use vbSendmail component:

    Author Comment

    But I'm using vbscript ?
    LVL 69

    Accepted Solution

    vbSendMail can be used for vbScript. There is an example of that in the download.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
    Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now