|
|
|
Посылка почты
|
|||
|---|---|---|---|
|
#18+
Привет всем! Как указать учетную запись через которую надо посылать почту. Public Function send_mail(sendto As String, subject As String, text As String) On Error GoTo ErrHandler With MAPISession1 .DownLoadMail = False .LogonUI = True .SignOn .NewSession = True MAPIMessages1.SessionID = .SessionID End With With MAPIMessages1 .Compose .RecipAddress = sendto .AddressResolveUI = True .ResolveName .MsgSubject = subject .MsgNoteText = text .Send False End With send_mail = True ErrHandler: End Function Private Sub Command1_Click() send_mail ("test@mail.ru"), ("Test_Proba"), ("Proba") End Sub ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.11.2005, 16:39:00 |
|
||
|
|

start [/forum/topic.php?fid=60&tid=2166774]: |
0ms |
get settings: |
10ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
40ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
46ms |
get tp. blocked users: |
2ms |
| others: | 228ms |
| total: | 356ms |

| 0 / 0 |
