CEmail{} class

We encourage new members to introduce themselves here. Get to know one another and share your interests.
Post Reply
User avatar
Kees Bouw
Posts: 99
Joined: Wed Nov 06, 2019 11:35 am
Location: Netherlands

CEmail{} class

Post by Kees Bouw »

Hi,

Creating an e-mail object from an existing .eml file does not seem to work in X#.

The code CEmail{cRaw} where cRaw is MemoRead from an .eml file, gives a strange error, see below.

This did work without problem in VO.

SubSystem :BASE
SubCode :0
SubCodeText :Unknown SubCode
GenCode :Argument error
OsCode :0
Severity :2
CanDefault :.F.
CanRetry :.F.
CanSubstitute :.F.
Operation :
Description :Argument error
Tries :0
FuncSym :StrTran
FileHandle :0
FileName :
FuncPtr :0
Arg :uSearch
ArgNum :2
ArgType :NIL
ArgTypeReq :NIL
MaxSize :0
SubstituteType :NIL
CallFuncSym :{(0x0000)0x00000000} CLASS

Kees.
User avatar
Chris
Posts: 4599
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

CEmail{} class

Post by Chris »

Hi Kees,

Thanks, I see the problem, it has to do with the way the SDK has been compiled. I can send you a quick fix dll if you need it.

Chris
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
User avatar
Kees Bouw
Posts: 99
Joined: Wed Nov 06, 2019 11:35 am
Location: Netherlands

CEmail{} class

Post by Kees Bouw »

Hi Chris,

If it is not too much trouble I would appreciate that very much. The alternative is for me to add a third party library (Chilkat) to send e-mail which is overkill because only sending basic e-mails is required in this particular web/cgi application. So the quick fix is very welcome!

Kind regards,

Kees.
User avatar
Chris
Posts: 4599
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

CEmail{} class

Post by Chris »

Hi Kees,

Yeah, it's easy to send such a fix, please check your email!
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
Post Reply