OVH Cloud OVH Cloud

VBA send mail with groupwise

1 réponse
Avatar
fdoche
Hi.

I'd like to send an email with VBA from Excel 2002, using Groupwise 6.5.

I've tried these several code samples but nothing worked..

// Try 1
ActiveWorkbook.EnvelopeVisible = True
With ActiveSheet.MailEnvelope
.Introduction = "This is a sample worksheet."
.Item.To = "adresse@url.com"
.Item.Send
End With

// Try 2
Dim HLink As String
HLink = "mailto:" & Recipient & "adresse@url.com"
ActiveWorkbook.FollowHyperlink (HLink)

Any idea to solve this problem ?

Thanxs.

1 réponse

Avatar
Clément Marcotte
Oh ! un "crosspost" unilingue de paresseux.

Oh a lousy crosspost unilingual. (Je know, faut tell uninlingual
crosspost, mais je am trop lousy pour correct ça)



"flo" a écrit dans le message de
news:
Hi.

I'd like to send an email with VBA from Excel 2002, using Groupwise
6.5.


I've tried these several code samples but nothing worked..

// Try 1
ActiveWorkbook.EnvelopeVisible = True
With ActiveSheet.MailEnvelope
.Introduction = "This is a sample worksheet."
.Item.To = ""
.Item.Send
End With

// Try 2
Dim HLink As String
HLink = "mailto:" & Recipient & ""
ActiveWorkbook.FollowHyperlink (HLink)

Any idea to solve this problem ?

Thanxs.