Sending Emails in Unity - with Attachments! ( Mailkit + SMTP )

  Рет қаралды 4,768

Matthew Ventures

Matthew Ventures

Күн бұрын

Пікірлер: 39
@TravelTalesVid
@TravelTalesVid 9 ай бұрын
Very Nice Video!! - PS:nice image on your desktop, it looks like a location in Northern Tuscany - but I could be wrong! :)
@TheRealmServer
@TheRealmServer Жыл бұрын
Nice video Mr. Ventures! 👍
@balazsmeszaros4061
@balazsmeszaros4061 Жыл бұрын
you're an absolute legend thx homie
@elbachir4395
@elbachir4395 Жыл бұрын
Great content as Always. I like when rare Unity possibilities are tackled. I was wondering if you were planning on doing an update video where you would talk about your experience so far being an IA Programmer at Id ? Also, now that GOW Ragnarök is out, I was wondering if some gameplay mechanics that are new in the game were in development back when you were an intern at Santa Monica (If you can disclose them) ? And during a GDC talk, the IA engineer that developed Atreus' Behaviour said that he used Lua to do that. I was wondering if you could tell how Lua could be used to script an IA in a game ?
@matthewventures
@matthewventures Жыл бұрын
Id so far has been fun. It's hard to connect with the team through remote work though but I've been working on helping connect the team over online game nights and such. I started work in gameplay and solved some interesting physics problems but now I'm doing AI work that isnt quite worth a video yet. Also tough talking about stuff prior to release or announcement. I'm playing ragnarok now! I only saw a slice of it when I was interning to a lot is new to me. I remember the sled prototype was there from the beginning though. It came out very nice!
@elbachir4395
@elbachir4395 Жыл бұрын
​@@matthewventures It's interesting that you have a part in bringing people together at Id. I look forward to see what you will share in the future about your Id experience and challenges you tackled in IA. Could it be that an Icy midgard might have been considered for GOW 2018 (DLC ?). Thank you very much for sharing that. Anyways, Santa Monica let out all their potential with Ragnarök. Also, you seem to be wearing the outfit Peter Parker gave Morales in the Beginning of Spider-man : Miles Morales. Could it be intentional ? (Sending messages over the web)
@damianbudzakdev
@damianbudzakdev Жыл бұрын
Thanks for help. Now 3.4.3 seems to be easier to set up, I only had to download 3 .dlls (total) with no errors.
@matthewventures
@matthewventures Жыл бұрын
Nice!
@matthewventures
@matthewventures Жыл бұрын
Which specifically were the 3 you downloaded?
@damianbudzakdev
@damianbudzakdev Жыл бұрын
@@matthewventures MimeKit 3.4.3, BouncyCastle1.9.0, MailKit3.4.3, I"m using .NETStandard 2.1
@RobertDeWolfe-c4o
@RobertDeWolfe-c4o 3 ай бұрын
@@damianbudzakdev I know it has been a while since you commented this, but how did you install BouncyCastle1.9.0 with .NETStandard 2.1? I am only seeing .NETStandard 2.1 and .NETFramework 4.0.
@zachdods
@zachdods Жыл бұрын
Update, your old video method 1 does work, but i changed the smtp to be outlook, and used a hotmail account to test, so outlook is the required type for the smtp, but that allows hotmail emails. i chose hotmail coz i thought it would be the oldest in security compared to outlook. thanks!
@burakgulrmak7085
@burakgulrmak7085 11 ай бұрын
thx man 😊
@coco101martin
@coco101martin 10 ай бұрын
Thanks for the helpful video! As someone who wants to understand what's going on in the code so I can recreate it myself, where do you suggest I start? Your code works well, I just want to make sure I understand what you're doing well enough to do it on my own.
@matthewventures
@matthewventures 10 ай бұрын
These days, I would actually recommend you pasted it to chat GPT and then just ask it to explain each line to you. The ai these days is really good
@threemr01
@threemr01 Жыл бұрын
Thank you so much for explaining in detail the issues with the dlls; particularly the part where Unity overwrites what was installed through VS. I remember a couple of years ago I had that problem trying to use the JSON NuGet package everybody was recommending but was never able to make it work. Instead, I had to find the C# source code of a different library and have Unity compile it. IIRC, there also was an issue trying to use dlls on Apple hardware (this was for the iPad version of the app) since, obviously, being based on *nix, Apple’s OSes don’t recognize that format for dynamic libraries. Do you know by any chance if following the process you described would make it work on an Apple device? I wonder what Unity is doing exactly with those dlls (I doubt it, but perhaps they transform them into static libraries during their compilation?)
@matthewventures
@matthewventures Жыл бұрын
Yes it can be confusing, I'm not familiar with how Unity compilation works but in the past I have used custom dlls on Apple devices which have worked as long as I have it set up in unity. So it worked for me I just needed to include whatever the DLls were within the plugins folder.
@AndrewDeick
@AndrewDeick 8 ай бұрын
Excellent video. Everything is working for me. Could you describe best practices for where to put your SMTP username and password in the code? (Does Unity support .env files) I am concerned that someone would be able to unpackage my Unity build and find my username/password in the code (in your case, the SettingsSO class). Is it possible to unbundle Unity source code?
@matthewventures
@matthewventures 8 ай бұрын
If it's in the code it is not secure. If it's shipped with the product, it's not secure. You would need to host it on the web and then grab it at runtime or use a third party authentication service to have correct security.
@smriti_chopra
@smriti_chopra Ай бұрын
Hi, great video. Question though, does this still work with the new mandate of deprecating basic authentication? I used the outlook server as well, and suddenly I cannot send emails anymore with the error "Authentication unsuccessful, basic authentication is disabled". Do you have an example with modern authentication clients?
@matthewventures
@matthewventures Ай бұрын
I don't really use this method anymore. Instead, I just open the email client on user's apps and then let them send their own email.
@smriti_chopra
@smriti_chopra Ай бұрын
@@matthewventures Oh okay, not exactly seamless anymore, especially for sending in-game feedback with attached logs etc. Any idea where I should look for a similar alternative? I should think this new mandate has broken multiple existing games no?
@artertemisartzetakis3077
@artertemisartzetakis3077 Ай бұрын
why not use the Simple Email Sender from the unity assetstore?? it works just fine
@oriolcorella2480
@oriolcorella2480 6 ай бұрын
Thanks!!!!!!!!!!
@ruiguimaraes4346
@ruiguimaraes4346 Жыл бұрын
Hi Matthew, Thanks for the video, I have put everything right, but when I try to send the email I receive this error: SmtpCommandException: 5.7.3 Authentication unsuccessful... I have every configured in my side, any tips? Thanks
@matthewventures
@matthewventures Жыл бұрын
Sorry idk. Maybe Google that. Or try a different email service.
@onurgungor9582
@onurgungor9582 Жыл бұрын
Hey Rui, did you solve it?
@matthewventures
@matthewventures Жыл бұрын
Are you using Outlook? I recently set this up for Outlook and it is working fine.
@najibabdullah3540
@najibabdullah3540 Жыл бұрын
Hey, great video. will this work with android platform?
@matthewventures
@matthewventures Жыл бұрын
Yes
@shardagargjuli1574
@shardagargjuli1574 Жыл бұрын
Please go on
@antonellabellucci
@antonellabellucci Жыл бұрын
can we use it in phone also?
@matthewventures
@matthewventures Жыл бұрын
Yes
@antonellabellucci
@antonellabellucci Жыл бұрын
@@matthewventures ok thank you
@antonellabellucci
@antonellabellucci Жыл бұрын
Also i have another question I am implimenting customer support feature in our game so i just want to know your thoughts on this that should we use this method or just use mailto: method which is basic unity method where it will open native mail application from where user can mail? please tell me which one should we use? Thank you
Sending Emails In Unity (Telemetry)
15:48
Matthew Ventures
Рет қаралды 9 М.
How to Send an Email or Text Message in C# with Unity
16:43
wolfs cry games
Рет қаралды 15 М.
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,1 МЛН
CAN YOU DO THIS ?
00:23
STORROR
Рет қаралды 49 МЛН
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 193 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 12 МЛН
Send Emails in C# and ASP.NET Core! - It´s actually pretty SIMPLE!
7:30
Using Interfaces in Game Development (Unity Tutorial)
7:00
Infallible Code
Рет қаралды 89 М.
Getting started with Firebase in Unity (2019) - Firecasts
12:54
How to Easily Send Emails from Your C# Code using Sendgrid
5:46
Unlocking The Power Of Unity's Scriptable Render Pipeline
21:05
Game Dev Guide
Рет қаралды 218 М.
Отправка e-mail на C#
8:45
Прикольное проектное программирование
Рет қаралды 10 М.
Accessing The File Explorer 2021 - (Works in Editor & Build)
10:53
The Ultimate Developer
Рет қаралды 30 М.
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,1 МЛН