+ Reply to Thread
Results 1 to 8 of 8

Excel email fails to send immediately

  1. #1
    Registered User
    Join Date
    05-22-2022
    Location
    Texas City, TX
    MS-Off Ver
    2016
    Posts
    30

    Excel email fails to send immediately

    I have a spreadsheet that auto saves and auto sends an email from Outlook upon closing the file.

    The problem that I've run into is that the email fails to send immediately.
    What it's doing is delaying the sending of the email until the next time the file is closed.

    For example:
    1) File closed at 4pm (nothing sent, but it's saved)
    2) File closed at 8pm (4pm file gets emailed)
    3) File closed at Midnight (8pm file gets emailed)

    This is not very reliable, we need the information immediately, not hours later.

    If anyone has any suggestions as to why this is happening, please let me know.

    Thanks
    Brian

  2. #2
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Excel email fails to send immediately

    Can you post your code/workbook?

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,009

    Re: Excel email fails to send immediately

    This might help ... do you have Outlook open and running in the background when you close the workbook ?

  4. #4
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,377

    Re: Excel email fails to send immediately

    What if you place this before the "End sub"

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-22-2022
    Location
    Texas City, TX
    MS-Off Ver
    2016
    Posts
    30

    Re: Excel email fails to send immediately

    Attached my worksheet for review if needed.

    Daily Work Sheet.xlsm

  6. #6
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,009

    Re: Excel email fails to send immediately

    .
    Try using the following format for your email macro. Make changes as required for the specific email fields.

    Please Login or Register  to view this content.

  7. #7
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Excel email fails to send immediately

    Quote Originally Posted by bdhobbs1 View Post
    Attached my worksheet for review if needed.

    Attachment 797677
    I ran this attachment and it sent the emails immediately.

    What are you Outlook settings for send and receive?
    Is send immediately checked?

    https://www.lifewire.com/how-to-send...utlook-1173802

  8. #8
    Registered User
    Join Date
    05-22-2022
    Location
    Texas City, TX
    MS-Off Ver
    2016
    Posts
    30

    Re: Excel email fails to send immediately

    disregard this, looking at Outlook settings now.
    Last edited by bdhobbs1; 09-25-2022 at 11:15 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Outlook MailItem.Send fails when email address domain contains a hyphen
    By mom_ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2021, 02:24 PM
  2. VBA Script to send email works 1st time, fails 2nd time
    By Sabernethy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2020, 08:06 AM
  3. Excel to send email to two addresses in two cells? MSG box upon send?
    By sdyer02 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-15-2016, 08:22 PM
  4. I send email using Lotus from Excel but how to send from Thunderbird?
    By EvelynLoh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-04-2015, 11:31 PM
  5. TO Immediately locate the file which my boss send to me
    By catchnanan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-09-2013, 04:01 PM
  6. Automatic send email (without even click send in mail software) with excel vba ??
    By alexnkc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-17-2013, 08:31 PM
  7. Send delayed email immediately
    By johncassell in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 01-16-2012, 07:45 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1