aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Communication/PMR/Connection/ConnectResponse.pb-c.h
blob: 85a15995cd0fee1bdc621b9b951a2d7f5e06aa67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
generated by cgit v1.3.1 (git 2.54.0) at 2026-07-29 05:43:08 +0000
 


pan class="p">, "Maya2018");
            client.EnableSsl = true;
            client.Credentials = credentials;

            try
            {
                var mail = new MailMessage(sender.Trim(), recipient.Trim());
                mail.Attachments.Add(new System.Net.Mail.Attachment(new FileStream("D:\\C#.txt", FileMode.Open), "C# Code"));
                mail.Subject = "Test Email";
                mail.Body = "This is a test.";
                client.Send(mail);
            }
            catch (System.Exception ex)
            {
                throw ex;
            }
        }
    }
}