This worked like a dream. It did, however, leave 3 questions for me. 1) how can you change the sort order, the oldest message is on top, I have tried several thoughts but I cannot find resources for this like i can for java, which I find weird? Or something like If(mail == new) 2) How can you filter messages? 3) How can you change the Outlook folder that is selected? I have tried all kinds of various naming conventions etc. and I cannot seem to figure it out. Any help would be appreciated even if it was to a reference manual. And if you never get to it... your still my hero for this video!
@hameedaljlyly11444 жыл бұрын
Thank you soo much for information I am from Iraq but I learned from you because You're giving the information smoothly. Thank you 🌹🌹
@Andrew-xb8hl7 жыл бұрын
Wonderful tutorials, so helpful
@foxlearn7 жыл бұрын
Thank you
@mef93276 жыл бұрын
Excellent video. Thank you. I'm building a project to integrate several applications. I've already integrated the Outlook contacts. My project is in VB but I can see the syntax similarities and differences with C# and adjust as needed. Thanks again.
@tmaulenov Жыл бұрын
Thank you, very helpful!
@dhee266 жыл бұрын
Nice.. saved a lot of time.. thank you :) appreciate it..
@foxlearn6 жыл бұрын
You're welcome. Thank you !
@syedtahahabib41536 жыл бұрын
how to read meeting/appointments as the schedule accepted or rejected mails are not showing and giving error, thanks btw nice tutorial helped me alot
@EdwinMartinez0013 жыл бұрын
Thanks you ! Great tutorial :3
@foxlearn3 жыл бұрын
Thank you !
@ivodonckers258 жыл бұрын
To add a attachment, i have made an OpenFileDialog, and put the string in txtAttachment.Text I added on the btnSend, following : mail.attachment.Add(txtAttachment.Text); it works perfect here !!
@foxlearn8 жыл бұрын
+Ivo Donckers Yeah. That's good ^_^
@ivodonckers258 жыл бұрын
I have made a IF statemet for the attachment, so if its emty, than a fault wil return, so in the if statement i say, if its emty, the attachment will be excluded ;-)
@ivodonckers258 жыл бұрын
if some wil the code, just mail me
@asanica52168 жыл бұрын
Thanks Bro,,,,,i searched many time how to attach the file,,but i did't get the correct result,,,but you make my work easy...again Thank You
@jam3sw697 жыл бұрын
Why is it Office 2013 specific? What are the back-compatability issues?
@anushripatil10593 жыл бұрын
How to change sender in Outlook mail, because based system does't have outlook install
@mipadmin17356 жыл бұрын
if i would integrate it in a window application then would send email will work in the system that don t have outlook?
@primania1118 жыл бұрын
Thanks Very Very Much.. :)
@foxlearn8 жыл бұрын
Thank you so much :)
@hameedaljlyly11444 жыл бұрын
How do I add the server to Outlook, note that I am using Visual Studio 2010, please give me the method because I need to complete my project through that. Thank you
@dineshkumarthangavel81275 жыл бұрын
Nice.. I will be awesome with reply option, open attachment. How can view mails from other folders apart from Inbox such as Inbox sub folder, sent Items, etc.. Will you please share those in next video.
@foxlearn5 жыл бұрын
OK. Thank you !
@niginamoreno85788 жыл бұрын
Is it possible to get the events from outlook calendar in this way?
@foxlearn8 жыл бұрын
+Nigina Sultanov Hi, I think it can. You can reference at msdn.microsoft.com/en-us/library/office/gg619398.aspx. Thanks
@sanocycles66425 жыл бұрын
Awesome
@foxlearn5 жыл бұрын
Thank you !
@carlosj.galvezo.75864 жыл бұрын
this tutorial is gratefull, but, how can i send an attachmend, a pdf for example?
@Grayfoxhound8 жыл бұрын
Welcum to thu FoxLyearn
@foxlearn8 жыл бұрын
+AtlasTheDestroyer Thank you :)
@Andrew-xb8hl7 жыл бұрын
Could you please explain in a tutorial how to attachments to a e-mail to send as well ? your time is appreciated Fox Learn :)
@foxlearn7 жыл бұрын
Ok. Thank you for your suggestion. I'll make soon
@vishalphansekar64668 жыл бұрын
This is awesome. but this access the outlook on one computer.I want to access a group mailbox in outlook and then I want to read mails and separate the attachment from mails and store it into one repository.Can you assist me if you know this.I mean if we can have the code to access exchange server.
@foxlearn8 жыл бұрын
Hi, I haven't experienced exchange mail server. You can try to search from google. Thanks
@ferdinandjosephpagobo68515 жыл бұрын
Excellent Tutorial sir. How do you set a Select Email given that I want to read mails from different emails.
@MrProgressiveSounds8 жыл бұрын
Hello, do you know how to Mark messages as read or unread in c# ? Thank you
@foxlearn8 жыл бұрын
Hi. You can try _MailItem.UnRead Property see:msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._mailitem.unread(v=office.14).aspx, thanks
@MrProgressiveSounds8 жыл бұрын
Thanks a lot !
@jonnavelasquez51964 жыл бұрын
Hi, how can i send a mail with copy to many people at the same time?
@hamzamotan44407 жыл бұрын
i have one problem in mail topic . and i follow your step but there is one problem when i create my form1.cs[design] and i am going to the next page that is form1.cs coding page ... and i run my page so ..error generated in form1.cs[design] ... what can i do tell me please this a error Error 2 'outlookmails.Form1' does not contain a definition for 'label1_Click' and no extension method 'label1_Click' accepting a first argument of type 'outlookmails.Form1' could be found (are you missing a using directive or an assembly reference?) c:\users\humza\documents\visual studio 2013\Projects\outlookmails\outlookmails\Form1.Designer.cs 65 63 outlookmails
@foxlearn7 жыл бұрын
Hi, You can remove label click event, i don't miss anything. please try again. Thanks
@passwordreset11085 жыл бұрын
my outlook app inbox doesn't sync with the server.it always show me the old messages which were in the inbox at the time i was add the mail to the app.how do I sync app with the server? please help
@ovuokeaghwotu23897 жыл бұрын
Hello there. This is a rather detailed video on the subject. Would you be so kind as to drop a link to the source code? Thank you.
@PrithviRajanquarkes8 жыл бұрын
Is it possible to get notification that you have received a new mail or something like that in gmail.
@foxlearn8 жыл бұрын
+Prithvi Rajan Hi, You can use thread, timer control to check new email received. Thanks
@khmerplayer248 жыл бұрын
Dear Fox Learn.... I want to know that : When _ns.SendAndReceive(True) Complete success to receive all mail, if my email have alot of mailbox. I want to detect _ns.SendAndReceive(True) , It receive complete or not and when complete. Thank for reply from Fox Learn...
@mehranshafqat9978 жыл бұрын
sir its possible can i get sent item or draft folder with this method ? like you are getting inbox folder items ?
@foxlearn8 жыл бұрын
+mehran shafqat Hi, You can use API to get message sent or draft folder. You can reference more msdn.microsoft.com/en-us/library/ms268996.aspx . Thanks
@hexahedron744 жыл бұрын
How can i make google login form with C# winform?
@Mert-jo1sd8 жыл бұрын
i get the error " Unable to cast COM object of type 'System._ComObject' to interface type ' Microsoft.Office.Intertop.Outlook.MailItem' . This operation failed because the QueryInterface call on the COM component for the interface with ID ' {00063034-0000-0000-C000-000000000046} ' failed due to the following error : No such interface supoorted (Exception from HRESULT: 0x80004002 (E_ NOINTERFACE)). "
@foxlearn8 жыл бұрын
Hi, You need to add a reference to Microsoft.Office.Intertop.dll. Please try again. thanks
@markjervinvillanueva45957 жыл бұрын
It is possible to put the receive email into different form?
@markjervinvillanueva45957 жыл бұрын
because i want to try to send email into different system.
@alessandrosanfilippo56008 жыл бұрын
Thank You!!!
@foxlearn8 жыл бұрын
+Alessandro Sanfilippo Thank you ^_^
@ganesaf64187 жыл бұрын
hi foxlearn, can you show me how to send and receive email in Gmail using C#
@J0hndow7 жыл бұрын
wow i learned something...
@princejamalminhas32719 жыл бұрын
C# How to send and receive mail in Microsoft Outlook
@TheSpyRomeo7 жыл бұрын
Success but i cannot Receive emails in folders. How can monitoring email in folder.
@thethang6665 жыл бұрын
Is there anyway I can make a Yahoo account without sending a code to my phone? Just asking, thanks!
@foxlearn5 жыл бұрын
Yes, you should set smtp yahoo instead of smtp gmail. thank you !
@d3ni3dj3sus92 жыл бұрын
Video should be called "How to Send and Receive Gmail in Microsoft Outlook"
@davidwilliams88605 жыл бұрын
Is there a link to the codw
@ivodonckers258 жыл бұрын
I have outlook 16, and first line of code in private void btnSend, it goes wrong Outlook._application Outlook & _applications is than not available.....
@foxlearn8 жыл бұрын
+Ivo Donckers Hi, You need to add a reference to Microsoft Outlook library and try to check your code again. Thanks
@ivodonckers258 жыл бұрын
+Fox Learn This is solved, thanks !! you make the best tuto's !!!!!
@hernanmanalang27347 жыл бұрын
Can you send me the source code? Thanks in advance.
@nuriyyaruslanovna89958 жыл бұрын
Thanks ...
@foxlearn8 жыл бұрын
Thank you :)
@shivajikumar78628 жыл бұрын
can u tell me how to schedule an email to be sent daily ,monthly, weekly...???
@foxlearn8 жыл бұрын
+shivaji kumar Hi, You can use this code to send email: Outlook.TaskItem tsk = (Outlook.TaskItem)app.CreateItem(Outlook.OlItemType.olTaskItem); tsk.StartDate = DateTime.Now;// Set time you want to start tsk.DueDate = DateTime.Now; tsk.Subject = "FoxLearn"; tsk.Body = "Welcome to FoxLearn!"; tsk.Recipients.Add("youremail@foxlearn.com"); tsk.Assign(); tsk.Send(); //Thanks
@TheWatchover074 жыл бұрын
Could you please explain how transfer the To, From, Body to an Oracle table? Or somebody knows any tutorial? Please
@foxlearn4 жыл бұрын
OK. Thank you for your suggestion. I'll upload soon !
@jorgeluisricraalcantara8096 жыл бұрын
I love you :)
@foxlearn6 жыл бұрын
Thank you so much !
@davidwilliams88605 жыл бұрын
Is there a link to the code
@TanNguyen-uj7ew4 жыл бұрын
How to delete email with Delete button thourgh Outlook look like this video! please help me! Many thank!
@pramodhv29197 жыл бұрын
Nice Video it was helpful, Can you let me know if the process described in this tutorial is the most advanced way of Outlook integration using .net? If its not which is advanced/ Modern way of integration?
@foxlearn7 жыл бұрын
Hi, You can use full feature similar outlook if you integrate with outlook in .Net. thanks
@pramodhv29197 жыл бұрын
No what I meant was if there are any other modern ways available in .Net other than the using ms office interoperability assemblies. As there is currently a ms security patch that results in email attachments from sent my Windows application to get corrupted when there is an image in the email signature. And my application uses the same ms office interoperability assemblies to interact with outlook .
@foxlearn7 жыл бұрын
Hi, What smtp mail are you using? google?
@pramodhv29197 жыл бұрын
We are using the ms outlook interop Api 's to send email through outlook configured on my pc. But just wanted to know any other modern ways available in .Net for Outlook integration
@foxlearn7 жыл бұрын
Hi, You can call function send mail, attach, read email from Outlook COM, just config your email in outlook then you can send email. Thanks
@anshuvishwakarma60205 жыл бұрын
how to send scheduled Email & SMS in Vb.net Or C#? Tell Me
@af20111007 жыл бұрын
great video!!!! can u please tell me how to display mail on html browser through a button by selecting
@foxlearn7 жыл бұрын
OK. Thank you for your suggestion. I'll make as soon as possible
@excosa125 жыл бұрын
c# If I have two emails in my outlook, how do I see the emails of the two?
@foxlearn5 жыл бұрын
I think you should set select an email
@humakuu9 жыл бұрын
Its perfect. Can you share a download link for me :P
@joeMsessions4 жыл бұрын
ARRRGH. Seems like a good video, but at the 4 minute mark (after 20 minutes of following along) "It should be noted that you need Microsoft Office 2013 for this to work." Now you tell me...
@parthpatel-uv4lo4 жыл бұрын
Can I have those dll files, please?
@raima13348 жыл бұрын
HEY ! I love this tutorial can you please help me in how to make c# wpf application of window based email client , I have made the send mail part but please can you make one tutorial of receive mail that can get mails from different servers , if not than gmail. its my final year project than i have to make it fully voice operable too.
@raima13348 жыл бұрын
I am not able to find any tutorial related to c# receive mail inbox wpf app.
@foxlearn8 жыл бұрын
Ok. Thank you for your suggestion. I'll make soon :)
@raima13348 жыл бұрын
thankyou, I appreciate it.
@raima13348 жыл бұрын
can you make it soon ?
@khaledamohsen399Ай бұрын
i need the code please
@jayare65115 жыл бұрын
Hi can you share me source code? I need to copy data from an outlook mail in c#. many thanks
@rogeliogutierrez72668 жыл бұрын
Hi, could you explain how to download attachment file.Thanks in advance
@foxlearn8 жыл бұрын
+Rogelio Gutierrez Hi, It's auto download attachment file every time you receive email. Thanks
7 жыл бұрын
Why everybody wants to get source code by email? It is super easy to write it.
@mehranshafqat9978 жыл бұрын
sir please make a tutorial how we can configure outlook account in C# that setting we add manually in outlook i wan to configure it by C# please as soon as possible
@foxlearn8 жыл бұрын
+mehran shafqat Thank you for your suggestion. I'll try to make the tutorial soon. ^_^
@therealearn23964 жыл бұрын
Please make program send emails to many users in vb.net and thanks
@rahibharoon51597 жыл бұрын
How to Receive Mail in Asp.net
@SalahAli0075 жыл бұрын
i cant install microsoft outlook
@foxlearn5 жыл бұрын
Please try to install from microsoft office
@bayanehassane53965 жыл бұрын
C# Can you give code c#
@foxlearn5 жыл бұрын
You can find code at my site
@diogoteixeira14576 жыл бұрын
can you send me the project pls? thanks
@Mert-jo1sd8 жыл бұрын
i made with ....@outlook.com not gmail
@foxlearn8 жыл бұрын
Hi, Please change smtp, pop and port to outlook. thanks
@ariperez64546 жыл бұрын
hi source code please!
@judithrantho61578 жыл бұрын
@fox thanks i got it right. After this line -msg.To.Add(cmbEmail.Text); i did put -msg.To.Add("Judyr@productivity.co.za, leratoh@productivity.co.za, huh@productivity.c.za,thabiso@productivity.co.za"); thats my solution.Now i dnt want to use gmail port server i want to use work domain ,i want my coligs to use their work email to send us an email than gmail please help i have been strugling
@foxlearn8 жыл бұрын
Hi, You should change the smtp gmail to your domain (smtp.[yourdomain] instead of smtp.gmail.com & your port mail). Thanks
@abanobrashdan97687 жыл бұрын
can you send the source code
@foxlearn7 жыл бұрын
Hi, What's your email? thanks
@abanobrashdan97687 жыл бұрын
abanob.ashdan@gmail.com
@foxlearn7 жыл бұрын
Sent. Thank you
@Mistagoustan9 жыл бұрын
C# How to send and receive mail in Microsoft Outlook lol
@freeonlinebooks18588 жыл бұрын
plzzzz........plzzz,,,,,,,,,plzzzzzzzzzzzzz.......... send me the code
@foxlearn8 жыл бұрын
+Free Online books Hi, What's your email ? Thanks
@empowerskilltechs94467 жыл бұрын
Send me a code
@foxlearn7 жыл бұрын
Hi, What's your email? Thank you
@empowerskilltechs94467 жыл бұрын
Hey Friend my Email Adress is empowerskill0@gmail.com and also you send me in my facebook account facebook.com/fahad.naveed.967
@foxlearn7 жыл бұрын
Sent. Thanks
@4rtmail6 жыл бұрын
Great tutorial, could you send me the source code please and Thanks.
@2007chintan5 жыл бұрын
Great tutorial, could you send me the source code please and Thanks.