cMsg = strConv(cEncodedString,14) oStream = CreateObject("ADODB.Stream") oStream.Open() oStream.WriteText(cMsg) oMsg = CREATEOBJECT("CDO.Message") oMsg.DataSource.OpenObject(oStream,"_Stream") cTo = oMsg.ToSo far the oMsg object seems to be ignoring my attempt the import the email string. All the important properties of oMsg are emtpy. Does anybody out there know how to achieve getting the email string into the Message object?
oDropDir = CREATEOBJECT("CDO.DropDirectory") oMsgs = oDropDir.GetMessages("C:\temp") FOR EACH oMsg IN oMsgs cTo = oMsg.To nRecipients = ALINES(laRecipients,cTo,.T.,",",";") FOR EACH lcRecipient IN laRecipients ? lcRecipient ENDFOR * other processing on oMsg ENDFOR