How to Send an Email using C#.NET? [With Source Code]

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 30

  • @TheSourovAqib
    @TheSourovAqib 2 роки тому +1

    Thank you kind stranger

  • @RunCodes
    @RunCodes  3 роки тому

    do you like our work?
    does this tutorial help you?
    if so, you can support us at www.patreon.com/RunCodes

  • @r3lace437
    @r3lace437 5 років тому +2

    It shows up that i need a safe connection with the smtp server what should i do now ?

    • @RunCodes
      @RunCodes  5 років тому

      enable lesssecureapps in gmail account! check description section for the link

  • @kunnudev7250
    @kunnudev7250 4 роки тому

    Great guy please continue awesome videos

  • @senadhaw2652
    @senadhaw2652 4 роки тому +1

    It gives an exeption : "system.Net.Mail.smptexeption" in the smpt.Send(message); line why is that

    • @RunCodes
      @RunCodes  4 роки тому

      Import system.net!

  • @vaibhavverma1340
    @vaibhavverma1340 3 роки тому

    Bhai it's shows that the smtp server requires a secure connection or the client was not authenticated 5.7 0 ? How we can get sort out of this problem ?

    • @RunCodes
      @RunCodes  3 роки тому +1

      enable lesssecureappa on your gmail account!

    • @vaibhavverma1340
      @vaibhavverma1340 3 роки тому

      @@RunCodes already enable less secure apps . I have been doing this since yesterday but not overcome the problem. Kindly tell me what should I do ? Thanks in advance.

    • @RunCodes
      @RunCodes  3 роки тому

      create new project and do it again!

  • @surajmohite3625
    @surajmohite3625 3 роки тому

    Can't work this process

  • @CityGalleryIND
    @CityGalleryIND 3 роки тому

    It's showing me failure sending email 😭😭😭😭

    • @RunCodes
      @RunCodes  3 роки тому +1

      All we can say is check your code! And you can contact txtlocal for more info!

    • @CityGalleryIND
      @CityGalleryIND 3 роки тому

      @@RunCodes Now my code is working 😀 . Can u pls bring video on Speech to text program in c# pls pls pls . Speech to text with Google cloud speech API😀 pls bring

    • @axaynarigara
      @axaynarigara 3 роки тому

      How can you solved?

    • @CityGalleryIND
      @CityGalleryIND 3 роки тому

      @@axaynarigara just checked my code and found the error that was , in place of SMTP I was writing smpt

  • @hus_alshawaff475
    @hus_alshawaff475 5 років тому

    If i need to write more different email in the same message how to the method ??

    • @RunCodes
      @RunCodes  5 років тому +1

      separate it by commas!

    • @hus_alshawaff475
      @hus_alshawaff475 5 років тому

      @@RunCodes What i write for the password ???
      I was yesterday applying this video on my project but not sent the message , I have a problem but i don't know what is the problem !!
      Help me please.
      I need to used for my final project in the college.
      Help me please, I need to communicate with you.

    • @jetskysumang8895
      @jetskysumang8895 5 років тому

      Network does nkot exist in the type SmtpDeliveryMethod

  • @atulpandey3505
    @atulpandey3505 4 роки тому

    in this code show many no of errors

  • @jayramkumar8712
    @jayramkumar8712 4 роки тому

    👌👌👌👌