send email in c# with Attatchment

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ย. 2024

ความคิดเห็น • 26

  • @prabhjotkaurprabh2411
    @prabhjotkaurprabh2411 5 ปีที่แล้ว

    This code is very helpful and easy... Thanks a lot for sharing.

  • @mohamedsameel
    @mohamedsameel 8 ปีที่แล้ว

    Thanks Vetrivel for the simplest way of demo.

  • @luxena3834
    @luxena3834 6 ปีที่แล้ว

    Perfect , thanks :-)

  • @abdurrazzak1612
    @abdurrazzak1612 8 ปีที่แล้ว

    many many thanks.

  • @pablohdz14
    @pablohdz14 9 ปีที่แล้ว

    hi i would like to know if there is a way of sending an email with info form the database maked text o something like that

  • @jackmagee2440
    @jackmagee2440 6 ปีที่แล้ว

    You could use a webbrowser and insert the data in the txt boxes into the text boxes on the webbrowser using
    webBrowser1.Document.GetElementById("identifierId").InnerText = txtEmail.Text;
    Above is for Gmail only!

  • @umaruchan5662
    @umaruchan5662 8 ปีที่แล้ว

    very nice tutorial how about yahoo? thanks for your reply.

  • @brijeshcg3242
    @brijeshcg3242 9 ปีที่แล้ว

    super good, and then how to send message can u help me

  • @anca.r
    @anca.r 9 ปีที่แล้ว

    hi, i'm trying to use your code for makeing a lil project but when i run it i have this message
    an unhandled exception of type 'system.net.mail.smtpexception' occurred in system.dll
    aditional information: failure sending mail
    and it's pointet to this line of code: smtpServer.Send(mail);
    i really can't understand what's wrong...
    thanks for your replay!

  • @egofreak98
    @egofreak98 6 ปีที่แล้ว

    I'm using VS2017 and there was no need to put an "@" before the path.

  • @sheikhmoizpasha1399
    @sheikhmoizpasha1399 5 ปีที่แล้ว

    IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
    this error is accruing , please ans

  • @jayamkoko7828
    @jayamkoko7828 8 ปีที่แล้ว

    sir cn u help me to show how to recover password send to email using c# winodws form..this will be great help to me..please sir help me

  • @jyotid8655
    @jyotid8655 6 ปีที่แล้ว

    I got error... The SMTP server requires a secure connection or the client was not authenticated. The server response was:5.5.1 Authentication Required.Learn more at ?????

    • @priyampaul6042
      @priyampaul6042 6 ปีที่แล้ว

      I also got the same error...if u solved it then please rply me with the way

    • @jyotid8655
      @jyotid8655 6 ปีที่แล้ว

      Priyam Paul
      Yes error solved...u hav to remove security from ur email id use this site
      support.google.com/accounts/answer/6010255?hl=en
      open above site n select
      "Less secure apps" section of my Account.
      log in to the email from where u want to send email ....
      and OFF it

    • @priyampaul6042
      @priyampaul6042 6 ปีที่แล้ว +1

      Jyoti d thank you😊

  • @shaansankar
    @shaansankar 9 ปีที่แล้ว

    The remote certificate is invalid according to the validation procedure

  • @codingkid8681
    @codingkid8681 4 ปีที่แล้ว

    Sending attachment of 1.5mb is blocked, please help

  • @redbloom752
    @redbloom752 8 ปีที่แล้ว

    it wont work mr losser..........................!
    i wast my 2 hrs on it but it wont it just hangging my pc

  • @Shpendi79
    @Shpendi79 9 ปีที่แล้ว

    thats code not work and fake video

    • @VetrivelD
      @VetrivelD  9 ปีที่แล้ว +2

      +Shpend Kastrati This is not a fake video.. you need to check your firewall as well as please check your your gmail pop setting