Страница: 1 |
How to send email to multiple recipientsusing MAPIMessage? Thanks
'*** compose e-mail titleForm.MAPIMessages1.Compose For x = 1 To Y titleForm.MAPIMessages1.RecipIndex = x - 1 If x = 1 Then titleForm.MAPIMessages1.RecipType = 1 Else titleForm.MAPIMessages1.RecipType = 2 End If titleForm.MAPIMessages1.RecipDisplayName = aE(x) ' aE() array with eMails Addresses Next titleForm.MAPIMessages1.MsgNoteText = Space(1) If note <> vbNullString Then titleForm.MAPIMessages1.MsgNoteText = Trim(note) ' Attachment If attach = True Then titleForm.MAPIMessages1.AttachmentPathName =Location + fileName + ".pdf" End If '===================================================================================================================== If regime = "Approve" Then titleForm.MAPIMessages1.MsgSubject = "Purchase Order " End If '*** send e-mail titleForm.MAPIMessages1.ResolveName titleForm.MAPIMessages1.Send Answer to Yan !!! Original language for VB/C/PASCAL/COBOL/FORTRAN/ADA/ and other IS ENGLISH ! So , you have to learn ENGLISH ! LIS Thanks, LIS! I've got another question about email. Can I send email not just to single user, but to Distribution List using MAPI? I'll also post this question in the main forum. Thanks. To Yan: Sorry, but I don't have russian letters on my keyboard at work. Страница: 1 |
Вопрос: How to send email to multiple recipients?
Добавлено: 16.07.02 07:30
Автор вопроса: Nick
Ответы
Всего ответов: 4
Номер ответа: 1
Автор ответа:
Ян
ICQ: 816105
Вопросов: 38
Ответов: 198
Web-сайт:
Профиль | | #1
Добавлено: 16.07.02 22:29
А по-русски можно?
Номер ответа: 2
Автор ответа:
LIS
Вопросов: 7
Ответов: 256
Профиль | | #2
Добавлено: 16.07.02 22:34
Номер ответа: 3
Автор ответа:
LIS
Вопросов: 7
Ответов: 256
Профиль | | #3
Добавлено: 16.07.02 22:41
Номер ответа: 4
Автор ответа:
Nick
Вопросов: 2
Ответов: 1
Профиль | | #4
Добавлено: 17.07.02 04:59