Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 42
  1. #16
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by AlexHedley View Post
    I was started off with a simple example to help build the knowledge for the OP as previous posts haven't given the impression of a massive amount of knowledge and giving a chunk of vba maybe overwhelming.
    It's better to understand how the whole process works then botch together things found on the web as if there are errors how will the be fixed.
    Fair enough. I just had it in my head that a better approach would be a question like, "Have you tried using the Wizard to email a report?" The video, itself, must have rubbed me the wrong way. Additionaly, I did not taking into consideration any previous posts by the OP. I was only considering the Title of this thread and post #1.

  2. #17
    AlexHedley's Avatar
    AlexHedley is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    England
    Posts
    180

    auto email to client before 30 days of expiry of loan

    I should have added a bit more explanation when I originally posted it, I was just being a little lazy , I'll be more careful in the future.

  3. #18
    joshynaresh is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Aug 2013
    Posts
    131
    with you example i don't understand how to do?

  4. #19
    AlexHedley's Avatar
    AlexHedley is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    England
    Posts
    180
    Hi @joshnyaresh,

    Which example are you struggling to follow along with?
    Mine won't achieve what you require but was there as a stepping stone to understand how an email can be sent through Access, hopefully giving you some knowledge around the area.

    @June7 supplied some excellent links that will get you to the next stage in your quest.

    The MS article describes how to create an Outlook object and send information using a Function, where you can pass in some arguments.

    If you can explain what you've tried and tell us where you are having trouble we can help out.

    Alex

  5. #20
    joshynaresh is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Aug 2013
    Posts
    131
    l'm explaining from beginning of my work.
    i have created query which calculate remaining days.
    i have created macro sendobject.

    and i got these problem

    1 when i run my macro access ask to allow or deny to send my mail
    2 even there is no any record in query although email send.

    required
    1 i don't want to ask me it should be automatically send mail.
    2. if there is no any record in query email should no be sent.

    Thank You.

  6. #21
    AlexHedley's Avatar
    AlexHedley is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    England
    Posts
    180

    auto email to client before 30 days of expiry of loan

    Quote Originally Posted by joshynaresh View Post
    1 when i run my macro access ask to allow or deny to send my mail

    1 i don't want to ask me it should be automatically send mail.
    This is what happens with Access now.
    I think pre 2003 it didn't used to but due to security reasons they added this in to stop people doing bulk spam emails.

    I'm sure there is a dropdown that stops it from showing for about 30mins but no longer than that.

    MS Article
    http://msdn.microsoft.com/en-us/libr...ffice.11).aspx

  7. #22
    AlexHedley's Avatar
    AlexHedley is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    England
    Posts
    180

    auto email to client before 30 days of expiry of loan

    Quote Originally Posted by joshynaresh View Post
    2 even there is no any record in query although email send.

    2. if there is no any record in query email should no be sent.
    When are you telling it to send an email?
    Is it per record in the Query?
    What values does the Query return?

  8. #23
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    1. This is what I did with mine. From Outlook, Window Button > Options > Trust Center > Programmatic Access > Never Warn

    2. Post code. Are you cycling through a recordset of email addresses? Open recordset filtered to only addresses that have data.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #24
    joshynaresh is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Aug 2013
    Posts
    131
    i have unable to send email to per recordset so i have tried these. after successof these then i will try to send email to per recordset.
    Thank You

  10. #25
    joshynaresh is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Aug 2013
    Posts
    131
    hello june7

    i do not understand your second suggestion.

    Thank YOu

  11. #26
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    The second suggestion is for you to provide the code you have constructed so that we can analyze. You have been provided relevant examples to modify for your situation. Show us what you have done.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  12. #27
    joshynaresh is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Aug 2013
    Posts
    131
    Hello alex and june7,
    I'm using Ms Access 2007. firstly i have tried to send email to recordset email ID but i'm unable to do. so, now i want to send email to "naresh.joshy@gmail.com" all these report which is created by query where i got with some problem. my requirement is - email should not be sent if query have no record.

    I also want to ask what should i have to do for sending email to every recordset email ID.

    Thank You in Advance.

  13. #28
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    Why are you unable to do so, what happens - error message, wrong results, nothing? Post your code for analysis.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  14. #29
    joshynaresh is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Aug 2013
    Posts
    131
    I don't no any thing about sending email code.

  15. #30
    AlexHedley's Avatar
    AlexHedley is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    England
    Posts
    180

    auto email to client before 30 days of expiry of loan

    So have you created a Macro to send an email?

Page 2 of 3 FirstFirst 123 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 29
    Last Post: 12-17-2014, 08:46 PM
  2. Auto-Generated Email
    By jle0003 in forum Access
    Replies: 3
    Last Post: 08-20-2012, 01:33 PM
  3. Auto Run Report then Auto Email
    By jo15765 in forum Reports
    Replies: 1
    Last Post: 10-05-2011, 10:57 AM
  4. Replies: 1
    Last Post: 07-26-2011, 06:10 AM
  5. Auto email query
    By warrigal in forum Database Design
    Replies: 3
    Last Post: 03-23-2011, 07:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums