+ Reply to Thread
Results 1 to 5 of 5

Send email from Excel to Outlook

  1. #1
    Forum Contributor
    Join Date
    11-04-2011
    Location
    pak
    MS-Off Ver
    Excel 2007
    Posts
    132

    Send email from Excel to Outlook

    Hello Experts,
    I am working with a code which sends email from default email application, Email sending is ok right now But I am stuck with 2 problems:

    1: before sending email, code should refresh the sheet, which is having active link to a database. that part always works after sending email, although the code for refreshing comes before sending email
    2: before seding email to outlook , outlook security warning pops up prompting " an application is trying to send an email on your behalf...etc." with options "deny"/allow"

    any ideas about these two bugs?
    Thanks for support
    regards,
    Shaukat

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    11-04-2011
    Location
    pak
    MS-Off Ver
    Excel 2007
    Posts
    132

    Re: Send email from Excel to Outlook

    hello,
    I solved problem no.1 by using two application.ontime routines for refreshing workbook and sending email, but outlook security warning still persists:
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by shaukat; 12-03-2011 at 04:46 AM.

  3. #3
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: Send email from Excel to Outlook

    Have you tried

    Please Login or Register  to view this content.
    Please take time to read the forum rules

  4. #4
    Forum Contributor
    Join Date
    11-04-2011
    Location
    pak
    MS-Off Ver
    Excel 2007
    Posts
    132

    Re: Send email from Excel to Outlook

    hello Steffen
    thanks for your input, As i think this alert generated by by outlook, perhaps some VB code has to be used in outlook.

  5. #5
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: Send email from Excel to Outlook

    Try setting this option in you outlook program and see if it works afterwards

    1: Start Outlook and then on the Tools menu, click Options.
    2: Click the Security tab, and then click to remove the check mark from the
    "Warn me when other applications try to send mail as me" check box.
    3: Click OK to close the Options dialog box.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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