Page 1 sur 1
[R] Activer accusé lecture et reception dans outlook
Posté : jeu. 12 sept. 2013 09:11
par Utilisateur 3309 supprimé
Bonjour,
dans Outlook il est possible d'envoyer un email avec demande d'accusé de lecture et de reception. je souhaiterais savoir comment on active ces options à partir d'autoit.
Voici le code que j'utilise pour envoyer un email par outlook.
► Afficher le texte
Code : Tout sélectionner
Func _Envoimail($mailto,$cc,$objet,$body,$olFormat,$olImportance)
$oOApp = ObjCreate("Outlook.Application")
$oOMail = $oOApp.CreateItem ($olMailItem)
$oOMail.Save
With $oOMail
.To = ($mailto)
.cc = ($cc)
.Subject = $objet
.BodyFormat = $olFormat ; 1=plain 2=html 3=Richtxt
.Importance = $olImportance ; 0=low 1=normal 3=high
if $olFormat = 2 Then
.HTMLBody = $body
Elseif $olFormat = 1 or $olFormat = 3 Then
.body = $body
EndIf
.Send
EndWith
$oOApp=0
EndFunc ;==>_ErrFunc
Merci pour votre aide
Re: [..] activer accusé lecture et reception dans outlook
Posté : jeu. 12 sept. 2013 09:33
par Utilisateur 3309 supprimé
je me répond a moi même
http://msdn.microsoft.com/en-us/library ... 67402.aspx
http://msdn.microsoft.com/en-us/library ... 65400.aspx
il suffit donc d'ajouter:
.ReadReceiptRequested = True
.OriginatorDeliveryReportRequested = True