/ Forums / Advansys Formativ / Formativ Creator / ItemAddMimeXField GW 8.0.2 / Reply To: ItemAddMimeXField GW 8.0.2
Thanks for your quick response,
this is exactly what I’m trying, but unfortunately i get the following error:
Object doesn’t support this property or method: ‘Groupwise.ItemAddMimeXField’ at line 14, column 6
Is it possible that this token is not implemented in Formativ yet? I can´t find anything about it in the Language Guide too.
Here is my Code:
Dim oMsgItem
Set oMsgItem = Groupwise.ComposingItem
Dim iMsgID
if oMsgItem is Nothing then
call Groupwise.NewMail
iMsgID = Groupwise.ItemMessageIDfromView
call GroupWise.ItemAddMimeXField(iMsgID, “X-WDRCrypt”, “yes”)
else
iMsgID = Groupwise.ItemMessageIDfromView
call GroupWise.ItemAddMimeXField(iMsgID, “X-WDRCrypt”, “yes”)
end if
set oMsgItem = Nothing