Results 1 to 7 of 7

Thread: Outlook inbox instead of imap.gmail.com

  1. #1

    Thread Starter
    Just a Member! seenu_1st's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    2,170

    Outlook inbox instead of imap.gmail.com

    Hi experts,
    How to get emails in outlook inbox instead of imap.gmail.com inbox?

    kindly reply with any solution,

    thank u,
    regards,
    Seenu...
    Seenu

    If this post is useful, pls don't forget to Rate this post.
    Pls mark thread as resolved once ur problem solved.
    ADO Tutorial Variable types SP6 for VB6, MsFlexGrid fast fill, Sorting Algorithms


  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Outlook inbox instead of imap.gmail.com

    just add a mail account in outlook and configure with the imap settings, they are readily available from gmail
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3

    Thread Starter
    Just a Member! seenu_1st's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    2,170

    Re: Outlook inbox instead of imap.gmail.com

    pete, thanks for ur reply, right now i had an account in outlook and receive mails, but i m just asking abt receiving mails in imap.gmail.com inbox, not in outlook default inbox, thats what i m asking.
    Seenu

    If this post is useful, pls don't forget to Rate this post.
    Pls mark thread as resolved once ur problem solved.
    ADO Tutorial Variable types SP6 for VB6, MsFlexGrid fast fill, Sorting Algorithms


  4. #4
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Outlook inbox instead of imap.gmail.com

    set up some rule for this i think, though it could be done using vba, if you wanted to
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  5. #5

    Thread Starter
    Just a Member! seenu_1st's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    2,170

    Re: Outlook inbox instead of imap.gmail.com

    ok thank u.
    Seenu

    If this post is useful, pls don't forget to Rate this post.
    Pls mark thread as resolved once ur problem solved.
    ADO Tutorial Variable types SP6 for VB6, MsFlexGrid fast fill, Sorting Algorithms


  6. #6
    Addicted Member
    Join Date
    Jul 2010
    Posts
    148

    Re: Outlook inbox instead of imap.gmail.com

    This is what I use...

    vb Code:
    1. Function Mail_PDF_Outlook(FileNamePDF As String, StrTo As String, _
    2.                           StrSubject As String, StrBody As String, Send As Boolean)
    3. Dim OutApp As Object
    4. Dim OutMail As Object
    5.  
    6. Set OutApp = CreateObject("Outlook.Application")
    7. Set OutMail = OutApp.CreateItem(0)
    8.  
    9. On Error Resume Next
    10. With OutMail
    11.     .To = StrTo
    12.     .CC = ""
    13.     .BCC = ""
    14.     .Subject = StrSubject
    15.     .Body = StrBody
    16.     '.Body = ActiveDocument.Content
    17.     .Attachments.Add FileNamePDF
    18.     If Send = True Then
    19.         .Send ' A security prompt will appear
    20.     Else ' save to draft folder
    21.         '.display
    22.         .Save
    23.         '.Close olPromtForSave
    24.         '.Close
    25.     End If
    26. End With
    27. On Error GoTo 0
    28. Set OutMail = Nothing
    29. Set OutApp = Nothing
    30. End Function

    I choose the .save option to put the email in the draft folder. Otherwise, I'd be prompted to send each email.

    Adrian

  7. #7

    Thread Starter
    Just a Member! seenu_1st's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    2,170

    Re: Outlook inbox instead of imap.gmail.com

    adrian, thanks for the reply, actuly i m asking abt incoming mails, move to specific folder.
    Seenu

    If this post is useful, pls don't forget to Rate this post.
    Pls mark thread as resolved once ur problem solved.
    ADO Tutorial Variable types SP6 for VB6, MsFlexGrid fast fill, Sorting Algorithms


Posting Permissions

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



Click Here to Expand Forum to Full Width