|
-
May 24th, 2012, 10:35 PM
#1
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...
-
May 25th, 2012, 04:29 AM
#2
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
-
May 25th, 2012, 08:34 AM
#3
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.
-
May 25th, 2012, 04:30 PM
#4
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
-
May 25th, 2012, 09:42 PM
#5
Re: Outlook inbox instead of imap.gmail.com
-
May 25th, 2012, 09:55 PM
#6
Addicted Member
Re: Outlook inbox instead of imap.gmail.com
This is what I use...
vb Code:
Function Mail_PDF_Outlook(FileNamePDF As String, StrTo As String, _ StrSubject As String, StrBody As String, Send As Boolean) Dim OutApp As Object Dim OutMail As Object Set OutApp = CreateObject("Outlook.Application") Set OutMail = OutApp.CreateItem(0) On Error Resume Next With OutMail .To = StrTo .CC = "" .BCC = "" .Subject = StrSubject .Body = StrBody '.Body = ActiveDocument.Content .Attachments.Add FileNamePDF If Send = True Then .Send ' A security prompt will appear Else ' save to draft folder '.display .Save '.Close olPromtForSave '.Close End If End With On Error GoTo 0 Set OutMail = Nothing Set OutApp = Nothing 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
-
May 25th, 2012, 10:05 PM
#7
Re: Outlook inbox instead of imap.gmail.com
adrian, thanks for the reply, actuly i m asking abt incoming mails, move to specific folder.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|