Attachments saved in a bad file (wodPop3)
Hello,
I'm getting well the messages but when I call the SAVE method on Attachment object, the file saved is a bad file. The body of message (text) is correct.
- The ENCODING property of this object equals 5 (5 bit) but I think this is wrong.
- I try to execute the wodPOP3 samples and this error is the same.
Here's the code:
Set oPOP3 = CreateObject( WeOnlyDo.wodPop3Com )
oPOP3.LicenseKey = LICKEY_WODPOP3
oPOP3.HostName = tAccounts.Account(iAccountIndex).Host
oPOP3.Login = tAccounts.Account(iAccountIndex).Login
oPOP3.Password = tAccounts.Account(iAccountIndex).Password
oPOP3.Blocking = True
oPOP3.Connect
oPOP3.Messages(iMsgID).Get
If oPOP3.Messages(iMsgID).Attachments.Count > 0 Then
For iCont = 0 To oPOP3.Messages(iMsgID).Attachments.Count - 1
sFile = xxxxxxx
oPOP3.Messages(iMsgID).Attachments(iCont).Save sFile
Next
End If
oPOP3.Disconnect
This code was running fine but I think (I'm not sure) when I update at last version start this error.
Any idea?
Thanks,
Gerard Llort
www.offshoretech.net
PD: Sorry for my basic english...
Re: Attachments saved in a bad file
We are a full version (not demo) of wodPop3.dll (version 1.2.2.77).
Regards,
Gerard Llort
Offshore Tech S.L.
www.offshoretech.net
Re: Attachments saved in a bad file
Hi Gerard,
I have just tested this using our latest version (1.2.4.86) and i was unable to duplicate the issue. Everything worked like charm on my side.
What version did you test? Can you request and update to the version i mentioned above and try it out?
Regards,
Damba
Re: Attachments saved in a bad file
Hello Damba,
I requested the latest version of component and... 'voilĂ '!! The process is running fine again!
Thanks for your quick response!
Regards,
Gerard Llort
Offshore Tech S.L.
www.offshoretech.net