C# Application - How to Send and Receive email in Microsoft Outlook | FoxLearn

  Рет қаралды 93,094

Fox Learn

Fox Learn

Күн бұрын

Пікірлер: 320
@tonpo27
@tonpo27 6 жыл бұрын
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!
@hameedaljlyly1144
@hameedaljlyly1144 4 жыл бұрын
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-xb8hl
@Andrew-xb8hl 7 жыл бұрын
Wonderful tutorials, so helpful
@foxlearn
@foxlearn 7 жыл бұрын
Thank you
@mef9327
@mef9327 6 жыл бұрын
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
@tmaulenov Жыл бұрын
Thank you, very helpful!
@dhee26
@dhee26 6 жыл бұрын
Nice.. saved a lot of time.. thank you :) appreciate it..
@foxlearn
@foxlearn 6 жыл бұрын
You're welcome. Thank you !
@syedtahahabib4153
@syedtahahabib4153 6 жыл бұрын
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
@EdwinMartinez001
@EdwinMartinez001 3 жыл бұрын
Thanks you ! Great tutorial :3
@foxlearn
@foxlearn 3 жыл бұрын
Thank you !
@ivodonckers25
@ivodonckers25 8 жыл бұрын
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 !!
@foxlearn
@foxlearn 8 жыл бұрын
+Ivo Donckers Yeah. That's good ^_^
@ivodonckers25
@ivodonckers25 8 жыл бұрын
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 ;-)
@ivodonckers25
@ivodonckers25 8 жыл бұрын
if some wil the code, just mail me
@asanica5216
@asanica5216 8 жыл бұрын
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
@jam3sw69
@jam3sw69 7 жыл бұрын
Why is it Office 2013 specific? What are the back-compatability issues?
@anushripatil1059
@anushripatil1059 3 жыл бұрын
How to change sender in Outlook mail, because based system does't have outlook install
@mipadmin1735
@mipadmin1735 6 жыл бұрын
if i would integrate it in a window application then would send email will work in the system that don t have outlook?
@primania111
@primania111 8 жыл бұрын
Thanks Very Very Much.. :)
@foxlearn
@foxlearn 8 жыл бұрын
Thank you so much :)
@hameedaljlyly1144
@hameedaljlyly1144 4 жыл бұрын
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
@dineshkumarthangavel8127
@dineshkumarthangavel8127 5 жыл бұрын
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.
@foxlearn
@foxlearn 5 жыл бұрын
OK. Thank you !
@niginamoreno8578
@niginamoreno8578 8 жыл бұрын
Is it possible to get the events from outlook calendar in this way?
@foxlearn
@foxlearn 8 жыл бұрын
+Nigina Sultanov Hi, I think it can. You can reference at msdn.microsoft.com/en-us/library/office/gg619398.aspx. Thanks
@sanocycles6642
@sanocycles6642 5 жыл бұрын
Awesome
@foxlearn
@foxlearn 5 жыл бұрын
Thank you !
@carlosj.galvezo.7586
@carlosj.galvezo.7586 4 жыл бұрын
this tutorial is gratefull, but, how can i send an attachmend, a pdf for example?
@Grayfoxhound
@Grayfoxhound 8 жыл бұрын
Welcum to thu FoxLyearn
@foxlearn
@foxlearn 8 жыл бұрын
+AtlasTheDestroyer Thank you :)
@Andrew-xb8hl
@Andrew-xb8hl 7 жыл бұрын
Could you please explain in a tutorial how to attachments to a e-mail to send as well ? your time is appreciated Fox Learn :)
@foxlearn
@foxlearn 7 жыл бұрын
Ok. Thank you for your suggestion. I'll make soon
@vishalphansekar6466
@vishalphansekar6466 8 жыл бұрын
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.
@foxlearn
@foxlearn 8 жыл бұрын
Hi, I haven't experienced exchange mail server. You can try to search from google. Thanks
@ferdinandjosephpagobo6851
@ferdinandjosephpagobo6851 5 жыл бұрын
Excellent Tutorial sir. How do you set a Select Email given that I want to read mails from different emails.
@MrProgressiveSounds
@MrProgressiveSounds 8 жыл бұрын
Hello, do you know how to Mark messages as read or unread in c# ? Thank you
@foxlearn
@foxlearn 8 жыл бұрын
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
@MrProgressiveSounds
@MrProgressiveSounds 8 жыл бұрын
Thanks a lot !
@jonnavelasquez5196
@jonnavelasquez5196 4 жыл бұрын
Hi, how can i send a mail with copy to many people at the same time?
@hamzamotan4440
@hamzamotan4440 7 жыл бұрын
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
@foxlearn
@foxlearn 7 жыл бұрын
Hi, You can remove label click event, i don't miss anything. please try again. Thanks
@passwordreset1108
@passwordreset1108 5 жыл бұрын
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
@ovuokeaghwotu2389
@ovuokeaghwotu2389 7 жыл бұрын
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.
@PrithviRajanquarkes
@PrithviRajanquarkes 8 жыл бұрын
Is it possible to get notification that you have received a new mail or something like that in gmail.
@foxlearn
@foxlearn 8 жыл бұрын
+Prithvi Rajan Hi, You can use thread, timer control to check new email received. Thanks
@khmerplayer24
@khmerplayer24 8 жыл бұрын
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...
@mehranshafqat997
@mehranshafqat997 8 жыл бұрын
sir its possible can i get sent item or draft folder with this method ? like you are getting inbox folder items ?
@foxlearn
@foxlearn 8 жыл бұрын
+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
@hexahedron74
@hexahedron74 4 жыл бұрын
How can i make google login form with C# winform?
@Mert-jo1sd
@Mert-jo1sd 8 жыл бұрын
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)). "
@foxlearn
@foxlearn 8 жыл бұрын
Hi, You need to add a reference to Microsoft.Office.Intertop.dll. Please try again. thanks
@markjervinvillanueva4595
@markjervinvillanueva4595 7 жыл бұрын
It is possible to put the receive email into different form?
@markjervinvillanueva4595
@markjervinvillanueva4595 7 жыл бұрын
because i want to try to send email into different system.
@alessandrosanfilippo5600
@alessandrosanfilippo5600 8 жыл бұрын
Thank You!!!
@foxlearn
@foxlearn 8 жыл бұрын
+Alessandro Sanfilippo Thank you ^_^
@ganesaf6418
@ganesaf6418 7 жыл бұрын
hi foxlearn, can you show me how to send and receive email in Gmail using C#
@J0hndow
@J0hndow 7 жыл бұрын
wow i learned something...
@princejamalminhas3271
@princejamalminhas3271 9 жыл бұрын
C# How to send and receive mail in Microsoft Outlook
@TheSpyRomeo
@TheSpyRomeo 7 жыл бұрын
Success but i cannot Receive emails in folders. How can monitoring email in folder.
@thethang666
@thethang666 5 жыл бұрын
Is there anyway I can make a Yahoo account without sending a code to my phone? Just asking, thanks!
@foxlearn
@foxlearn 5 жыл бұрын
Yes, you should set smtp yahoo instead of smtp gmail. thank you !
@d3ni3dj3sus9
@d3ni3dj3sus9 2 жыл бұрын
Video should be called "How to Send and Receive Gmail in Microsoft Outlook"
@davidwilliams8860
@davidwilliams8860 5 жыл бұрын
Is there a link to the codw
@ivodonckers25
@ivodonckers25 8 жыл бұрын
I have outlook 16, and first line of code in private void btnSend, it goes wrong Outlook._application Outlook & _applications is than not available.....
@foxlearn
@foxlearn 8 жыл бұрын
+Ivo Donckers Hi, You need to add a reference to Microsoft Outlook library and try to check your code again. Thanks
@ivodonckers25
@ivodonckers25 8 жыл бұрын
+Fox Learn This is solved, thanks !! you make the best tuto's !!!!!
@hernanmanalang2734
@hernanmanalang2734 7 жыл бұрын
Can you send me the source code? Thanks in advance.
@nuriyyaruslanovna8995
@nuriyyaruslanovna8995 8 жыл бұрын
Thanks ...
@foxlearn
@foxlearn 8 жыл бұрын
Thank you :)
@shivajikumar7862
@shivajikumar7862 8 жыл бұрын
can u tell me how to schedule an email to be sent daily ,monthly, weekly...???
@foxlearn
@foxlearn 8 жыл бұрын
+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
@TheWatchover07
@TheWatchover07 4 жыл бұрын
Could you please explain how transfer the To, From, Body to an Oracle table? Or somebody knows any tutorial? Please
@foxlearn
@foxlearn 4 жыл бұрын
OK. Thank you for your suggestion. I'll upload soon !
@jorgeluisricraalcantara809
@jorgeluisricraalcantara809 6 жыл бұрын
I love you :)
@foxlearn
@foxlearn 6 жыл бұрын
Thank you so much !
@davidwilliams8860
@davidwilliams8860 5 жыл бұрын
Is there a link to the code
@TanNguyen-uj7ew
@TanNguyen-uj7ew 4 жыл бұрын
How to delete email with Delete button thourgh Outlook look like this video! please help me! Many thank!
@pramodhv2919
@pramodhv2919 7 жыл бұрын
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?
@foxlearn
@foxlearn 7 жыл бұрын
Hi, You can use full feature similar outlook if you integrate with outlook in .Net. thanks
@pramodhv2919
@pramodhv2919 7 жыл бұрын
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 .
@foxlearn
@foxlearn 7 жыл бұрын
Hi, What smtp mail are you using? google?
@pramodhv2919
@pramodhv2919 7 жыл бұрын
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
@foxlearn
@foxlearn 7 жыл бұрын
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
@anshuvishwakarma6020
@anshuvishwakarma6020 5 жыл бұрын
how to send scheduled Email & SMS in Vb.net Or C#? Tell Me
@af2011100
@af2011100 7 жыл бұрын
great video!!!! can u please tell me how to display mail on html browser through a button by selecting
@foxlearn
@foxlearn 7 жыл бұрын
OK. Thank you for your suggestion. I'll make as soon as possible
@excosa12
@excosa12 5 жыл бұрын
c# If I have two emails in my outlook, how do I see the emails of the two?
@foxlearn
@foxlearn 5 жыл бұрын
I think you should set select an email
@humakuu
@humakuu 9 жыл бұрын
Its perfect. Can you share a download link for me :P
@joeMsessions
@joeMsessions 4 жыл бұрын
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-uv4lo
@parthpatel-uv4lo 4 жыл бұрын
Can I have those dll files, please?
@raima1334
@raima1334 8 жыл бұрын
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.
@raima1334
@raima1334 8 жыл бұрын
I am not able to find any tutorial related to c# receive mail inbox wpf app.
@foxlearn
@foxlearn 8 жыл бұрын
Ok. Thank you for your suggestion. I'll make soon :)
@raima1334
@raima1334 8 жыл бұрын
thankyou, I appreciate it.
@raima1334
@raima1334 8 жыл бұрын
can you make it soon ?
@khaledamohsen399
@khaledamohsen399 Ай бұрын
i need the code please
@jayare6511
@jayare6511 5 жыл бұрын
Hi can you share me source code? I need to copy data from an outlook mail in c#. many thanks
@rogeliogutierrez7266
@rogeliogutierrez7266 8 жыл бұрын
Hi, could you explain how to download attachment file.Thanks in advance
@foxlearn
@foxlearn 8 жыл бұрын
+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.
@mehranshafqat997
@mehranshafqat997 8 жыл бұрын
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
@foxlearn
@foxlearn 8 жыл бұрын
+mehran shafqat Thank you for your suggestion. I'll try to make the tutorial soon. ^_^
@therealearn2396
@therealearn2396 4 жыл бұрын
Please make program send emails to many users in vb.net and thanks
@rahibharoon5159
@rahibharoon5159 7 жыл бұрын
How to Receive Mail in Asp.net
@SalahAli007
@SalahAli007 5 жыл бұрын
i cant install microsoft outlook
@foxlearn
@foxlearn 5 жыл бұрын
Please try to install from microsoft office
@bayanehassane5396
@bayanehassane5396 5 жыл бұрын
C# Can you give code c#
@foxlearn
@foxlearn 5 жыл бұрын
You can find code at my site
@diogoteixeira1457
@diogoteixeira1457 6 жыл бұрын
can you send me the project pls? thanks
@Mert-jo1sd
@Mert-jo1sd 8 жыл бұрын
i made with ....@outlook.com not gmail
@foxlearn
@foxlearn 8 жыл бұрын
Hi, Please change smtp, pop and port to outlook. thanks
@ariperez6454
@ariperez6454 6 жыл бұрын
hi source code please!
@judithrantho6157
@judithrantho6157 8 жыл бұрын
@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
@foxlearn
@foxlearn 8 жыл бұрын
Hi, You should change the smtp gmail to your domain (smtp.[yourdomain] instead of smtp.gmail.com & your port mail). Thanks
@abanobrashdan9768
@abanobrashdan9768 7 жыл бұрын
can you send the source code
@foxlearn
@foxlearn 7 жыл бұрын
Hi, What's your email? thanks
@abanobrashdan9768
@abanobrashdan9768 7 жыл бұрын
abanob.ashdan@gmail.com
@foxlearn
@foxlearn 7 жыл бұрын
Sent. Thank you
@Mistagoustan
@Mistagoustan 9 жыл бұрын
C# How to send and receive mail in Microsoft Outlook lol
@freeonlinebooks1858
@freeonlinebooks1858 8 жыл бұрын
plzzzz........plzzz,,,,,,,,,plzzzzzzzzzzzzz.......... send me the code
@foxlearn
@foxlearn 8 жыл бұрын
+Free Online books Hi, What's your email ? Thanks
@empowerskilltechs9446
@empowerskilltechs9446 7 жыл бұрын
Send me a code
@foxlearn
@foxlearn 7 жыл бұрын
Hi, What's your email? Thank you
@empowerskilltechs9446
@empowerskilltechs9446 7 жыл бұрын
Hey Friend my Email Adress is empowerskill0@gmail.com and also you send me in my facebook account facebook.com/fahad.naveed.967
@foxlearn
@foxlearn 7 жыл бұрын
Sent. Thanks
@4rtmail
@4rtmail 6 жыл бұрын
Great tutorial, could you send me the source code please and Thanks.
@2007chintan
@2007chintan 5 жыл бұрын
Great tutorial, could you send me the source code please and Thanks.
@foxlearn
@foxlearn 5 жыл бұрын
You can get source code at my site. Thank you !
C# Application - How to send an email | FoxLearn
16:33
Fox Learn
Рет қаралды 93 М.
PRANK😂 rate Mark’s kick 1-10 🤕
00:14
Diana Belitskay
Рет қаралды 8 МЛН
My MEAN sister annoys me! 😡 Use this gadget #hack
00:24
Отправка e-mail на C#
8:45
Прикольное проектное программирование
Рет қаралды 10 М.
how to send email using vb.net | 2024
15:11
VB Developing
Рет қаралды 2,3 М.
Sending Email in C# using FluentEmail
30:36
IAmTimCorey
Рет қаралды 91 М.
Send Emails in C# and ASP.NET Core! - It´s actually pretty SIMPLE!
7:30
DRM explained - How Netflix prevents you from downloading videos?
18:17
Mehul - Codedamn
Рет қаралды 204 М.
How to Recall Mail in Outlook | Undo Send Any Email
7:14
Kevin Stratvert
Рет қаралды 420 М.
The Problem With OneDrive Backup
22:50
Ask Leo!
Рет қаралды 211 М.
How to Mail Merge in Outlook | Mail Merge in Microsoft Outlook
3:52
Technologiate
Рет қаралды 148 М.
PRANK😂 rate Mark’s kick 1-10 🤕
00:14
Diana Belitskay
Рет қаралды 8 МЛН