+ Reply to Thread
Results 1 to 6 of 6

VBA to Verify an Email Address is Valid in Microsoft Outlook

  1. #1
    Forum Contributor
    Join Date
    01-28-2008
    MS-Off Ver
    Excel 365
    Posts
    157

    VBA to Verify an Email Address is Valid in Microsoft Outlook

    I am writing VBA in Outlook to reply to emails. I use logic to create the recipient's email address (which is also the sender's email address, since I am replying).

    Does anyone know how to check the VBA logic to "check names" for validity?

    Thank you in advance!
    Last edited by Larry.LeBlanc@O; 09-15-2014 at 12:48 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: VBA in Microsoft Outlook

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: VBA to Verify an Email Address is Valid in Microsoft Outlook

    Hi, Larry.LeBlanc,

    do you mean something like this:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Forum Contributor
    Join Date
    01-28-2008
    MS-Off Ver
    Excel 365
    Posts
    157

    Re: VBA to Verify an Email Address is Valid in Microsoft Outlook

    I was hoping that there is an Outlook command that will test whether a string is a valid email address. Like when I type an email address and then click "check names."

  5. #5
    Forum Contributor pareshj's Avatar
    Join Date
    05-20-2014
    Location
    MUMBAI
    MS-Off Ver
    2007 & 2010
    Posts
    447

    Re: VBA to Verify an Email Address is Valid in Microsoft Outlook

    Hi,

    We can only write code to check whether format of email id is correct or not. To actually check and verify whether that email id exists is not possible.


    Regards,
    Paresh J
    Click on "* Add Reputation" as a way to say thanks

  6. #6
    Forum Contributor
    Join Date
    01-28-2008
    MS-Off Ver
    Excel 365
    Posts
    157

    Re: VBA to Verify an Email Address is Valid in Microsoft Outlook

    Thank you for answering.

+ 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. Using VBA to automate Microsoft Outlook
    By MikeFranz123 in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2013, 09:42 AM
  2. Windows 7 :Microsoft Outlook 2003 Problems
    By Mooseman60 in forum Microsoft Windows Help
    Replies: 1
    Last Post: 04-12-2011, 08:08 AM
  3. Microsoft Outlook could not access the specified folder..
    By shanew in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 02-27-2009, 02:23 AM
  4. Microsoft outlook popup box
    By walid66 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2006, 01:38 PM
  5. Microsoft Outlook Express problems
    By sungen99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2005, 01:00 PM

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