06
|
VB.NET
|
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112 #Region "Перегруженные функции"
'Public Function SendEmail(email As String, subject As String, body As String) As Boolean ...
Public Function SendEmail(email As String, _
subject As String, _
body As String _
) As Boolean
Return SendEmail(email, subject, body, CType({}, Attachment()), "", "", Nothing)
End Function Public Function SendEmail(email As String, subject As String, body As String ) As Boolean ...
Public Function SendEmail(email As String, _
subject As String, _
body As String, _
attachements() As String) As Boolean
Return SendEmail(email, subject, body, attachements)
End Function Public Function SendEmail(email As String, subject As String, body As String, attachements() As String) As Boolean ...
Public Function SendEmail(email As String, _
subject As String, _
body As String, _
attachements() As String, _
encoding As Encoding) As Boolean
Return SendEmail(email, subject, body, attachements, "", "", encoding)
End Function Public Function SendEmail(email As String, subject As String, body As String, attachements() As String, encoding As Encoding) As Boolean ...
Public Function SendEmail(email As String, _
subject As String, _
body As String, _
attachements() As String, _
CC As String, _
Bcc As String, _
encoding As Encoding) As Boolean
Dim attCount As Integer = attachements.Length
Dim mCC() As MailAddress = ПолучитьСписокАдресов(CC)
Dim mBcc() As MailAddress = ПолучитьСписокАдресов(Bcc)
Dim attachementPaths(attCount) As Attachment
For i As Integer = 0 To attCount - 1
attachementPaths(i) = New Attachment(attachements(i))
Next
Return SendEmail(email, subject, body, attachementPaths, mCC, mBcc, encoding)
End Function Public Function SendEmail(email As String, subject As String, body As String, attachements() As String, CC As String, Bcc As String, encoding As Encoding) As Boolean ...
Public Function SendEmail(email As String, _
subject As String, _
body As String, _
attachements As Attachment) As Boolean
Return SendEmail(email, subject, body, {attachements}, "", "", Nothing)
End Function Public Function SendEmail(email As String, subject As String, body As String, attachements As Attachment) As Boolean ...
Public Function SendEmail(email As String, _
subject As String, _
body As String, _
attachements As Attachment, _
encoding As Encoding) As Boolean
Return SendEmail(email, subject, body, {attachements}, "", "", encoding)
End Function Public Function SendEmail(email As String, subject As String, body As String, attachements As Attachment, encoding As Encoding) As Boolean ...
Public Function SendEmail(email As String, _
subject As String, _
body As String, _
attachements As Attachment, _
CC As String, _
Bcc As String, _
encoding As Encoding) As Boolean
Dim mCC() As MailAddress = ПолучитьСписокАдресов(CC)
Dim mBcc() As MailAddress = ПолучитьСписокАдресов(Bcc)
Return SendEmail(email, subject, body, {attachements}, mCC, mBcc, encoding)
End Function Public Function SendEmail(email As String, subject As String, body As String, attachements As Attachment, CC As String, Bcc As String, encoding As Encoding) As Boolean ...
Public Function SendEmail(email As String, _
subject As String, _
body As String, _
attachements() As Attachment) As Boolean
Return SendEmail(email, subject, body, attachements, "", "", Nothing)
End Function Public Function SendEmail(email As String, subject As String, body As String, attachements() As Attachment) As Boolean ...
Public Function SendEmail(email As String, _
subject As String, _
body As String, _
attachements() As Attachment, _
encoding As Encoding) As Boolean
Return SendEmail(email, subject, body, attachements, "", "", encoding)
End Function Public Function SendEmail(email As String, subject As String, body As String, attachements() As Attachment, encoding As Encoding) As Boolean ...
Public Function SendEmail(email As String, _
subject As String, _
body As String, _
attachements() As Attachment, _
CC As String, _
Bcc As String, _
encoding As Encoding) As Boolean
Dim mCC() As MailAddress = ПолучитьСписокАдресов(CC)
Dim mBcc() As MailAddress = ПолучитьСписокАдресов(Bcc)
Return SendEmail(email, subject, body, attachements, mCC, mBcc, Nothing)
End Function Public Function SendEmail(email As String, subject As String, body As String, attachements() As Attachment, CC As String, Bcc As String, encoding As Encoding) As Boolean ...
#End Region #Region "Перегруженные функции" ...
|
|