Тёмный

Send mail from Dot NET Core Web API with attachments | .NET 7.0 mail sending using mailkit 

Nihira Techiees
Подписаться 21 тыс.
Просмотров 15 тыс.
50% 1

#dotnet7 #webapi #nihiratechiees #mailkit
This video explains sending mail from dot net core 7.0 web API
It covers below scenarios
1, Send mail with plain text.
2, Send mail with html content
3, Send mail with attachment
4, Send mail with multiple attachment
Package used
-------------------------
* MimeKit
* MailKit
GitHub Source code link
=====================
github.com/nih...
Join this channel to get access to perks:
/ @nihiratechiees

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@chatgptmonika
@chatgptmonika 12 дней назад
how to read the email and save the text file ..?
@nedariyamohd6736
@nedariyamohd6736 4 месяца назад
what if we want to use office365 smtp config what will be the changes for the existing code
@NihiraTechiees
@NihiraTechiees 4 месяца назад
Let me check and let you know
@vaipara
@vaipara 7 месяцев назад
response 200 but mail didn't reach ??
@NihiraTechiees
@NihiraTechiees 7 месяцев назад
Just debug see step by step whether it's breaking somewhere.
@vaipara
@vaipara 7 месяцев назад
the response is 200ok but mail didn't reach at the mail why ??
@NihiraTechiees
@NihiraTechiees 7 месяцев назад
Also check spam folder
@vaipara
@vaipara 7 месяцев назад
thankyou for reply i checked spam folder but it didn't seen @@NihiraTechiees
@marcosvinicios9904
@marcosvinicios9904 7 месяцев назад
MailKit.Security.SslHandshakeException: An error occurred while attempting to establish an SSL or TLS connection. Help?
@NihiraTechiees
@NihiraTechiees 7 месяцев назад
Use tls
@nurtilekalibekov4360
@nurtilekalibekov4360 6 месяцев назад
If you encounter the error "An attempt to establish a connection was unsuccessful because the connected party did not respond properly, or the established connection was broken due to a wrong response from the connected computer," try using SSL instead of StartTLS and change the port to 465.
@NihiraTechiees
@NihiraTechiees 6 месяцев назад
Thanks for sharing knowledge👍
@pavipriya6658
@pavipriya6658 7 месяцев назад
but how to do this without hardcoding...can you give me any examples..please
@NihiraTechiees
@NihiraTechiees 7 месяцев назад
Email conten( body) ?
@NikhilRathore-b5u
@NikhilRathore-b5u Год назад
I'm getting runtime error on smtp.Connect , not sure why
@NihiraTechiees
@NihiraTechiees Год назад
Could you share the error message
@hugnt
@hugnt Год назад
I have a problem when importing image into "src" of img tag, I want to take the imge in localhost then show it in body of html when sending email, how can I do that?
@NihiraTechiees
@NihiraTechiees Год назад
Provide image url in the src
@pavipriya6658
@pavipriya6658 7 месяцев назад
email content, i want to send mail to multiple user...in properties i want to add attachment also
@NihiraTechiees
@NihiraTechiees 7 месяцев назад
Will create separate video for that
@jayashreevenkatesan151
@jayashreevenkatesan151 5 месяцев назад
@@NihiraTechiees Just do it ,I'm in need of that
@pavipriya6658
@pavipriya6658 7 месяцев назад
body also
@NihiraTechiees
@NihiraTechiees 7 месяцев назад
👍
@hugnt
@hugnt Год назад
wow, you did a good job bro, my program worked smoothly which I could not see in any other channels
@NihiraTechiees
@NihiraTechiees Год назад
Glad to hear
@pavipriya6658
@pavipriya6658 7 месяцев назад
very very useful sir..Thank you so much
@NihiraTechiees
@NihiraTechiees 7 месяцев назад
You are most welcome
@Lordbolaji
@Lordbolaji Год назад
Hello, the video is much appreciated. Gracias🙏
@NihiraTechiees
@NihiraTechiees Год назад
Thanks
@being_aslam_tiger
@being_aslam_tiger Год назад
Hey really huge huge huge thanks for creating this video. ❣
@NihiraTechiees
@NihiraTechiees Год назад
Great👍
@VijayKumar-fq4ie
@VijayKumar-fq4ie Год назад
Good one but u make this video too late.
@NihiraTechiees
@NihiraTechiees Год назад
Yes bro, similar scenario came in my task. So did some research. That concept I am just sharing
@jobins8752
@jobins8752 Год назад
Good content bro in same way phone notifications how ?
@NihiraTechiees
@NihiraTechiees Год назад
Let's cover future videos
@jobins8752
@jobins8752 Год назад
@@NihiraTechiees waiting bro
@bakunyaa
@bakunyaa 7 месяцев назад
nice video sir, thanks!
@NihiraTechiees
@NihiraTechiees 7 месяцев назад
Thanks 🤝
@IspeckDigitalSolutionsPrivateL
@IspeckDigitalSolutionsPrivateL 8 месяцев назад
You save me today :)
@NihiraTechiees
@NihiraTechiees 8 месяцев назад
Glad to hear👍
@duongha5903
@duongha5903 9 месяцев назад
very useful video
@NihiraTechiees
@NihiraTechiees 9 месяцев назад
Glad you think so!
@omkardoke4649
@omkardoke4649 6 месяцев назад
Thanks
@NihiraTechiees
@NihiraTechiees 6 месяцев назад
Welcome
@paviyarasanbussiness
@paviyarasanbussiness Год назад
Thank you
@NihiraTechiees
@NihiraTechiees Год назад
Welcome 👍
@jayakumar2927
@jayakumar2927 Год назад
Good one
@NihiraTechiees
@NihiraTechiees Год назад
Thanks
@aksharanatureworld
@aksharanatureworld Год назад
@NihiraTechiees
@NihiraTechiees Год назад
👍
Далее
▼ КАПИТАН НАШЁЛ НЕФТЬ В 🍑
33:40
Просмотров 386 тыс.
The Free Way to Create Awesome PDFs in .NET
12:45
Просмотров 47 тыс.
How to Send an Email with Attachments in ASP.NET Core
13:41
How principled coders outperform the competition
11:11
.NET 6 - Message Broker with RabbitMQ 🐰🐰🐰
1:00:14
▼ КАПИТАН НАШЁЛ НЕФТЬ В 🍑
33:40
Просмотров 386 тыс.