Author | Topic: Error with 1.82 | |
---|---|---|
Igor Golobrodskiy | Error with 1.82 on Mon, 05 May 2003 19:43:17 +0300 I have a big problem with you sample SendMail() and attached files. SendMail( cHost, ; name of mail server (defaults to "mail") cFrom, ; mail address of sender acToAddr, ; recipient ( "ac" means: string or array of strings ) cSubject, ; subject line cMessage, ; message body , ; CC: recipients , ; BCC: recipients {'d:\export.mac'}, ; name(s) of attached file(s) cLogFile ) log file name ---------------------------------------------------------------------------- -- ERROR LOG of "C:\Alaska\XPPW32\SOURCE\ASINET\MAIL\MAIL.EXE" Date: 05/05/2003 19:35:57 Xbase++ version : Xbase++ (R) Version 1.82.293 Operating system : Windows 2000 05.00 Build 02195 Service Pack 2 ---------------------------------------------------------------------------- -- oError:args : -> VALTYPE: C VALUE: ; name="export.mac" oError:canDefault : N oError:canRetry : N oError:canSubstitute: Y oError:cargo : NIL oError:description : Parameter has a wrong data type oError:filename : oError:genCode : 2 oError:operation : <NIL>+=<; name="...> oError:osCode : 0 oError:severity : 2 oError:subCode : 3 oError:subSystem : BASE oError:thread : 1 oError:tries : 0 ---------------------------------------------------------------------------- -- CALLSTACK: ---------------------------------------------------------------------------- -- Called from MIMECONTENT:ENCODEBYNAME(174) Called from MIMEMESSAGE:ATTACHFILE(186) Called from (B)SENDMAIL(157) Called from SENDMAIL(157) Called from SENDIT(179) Called from (B)MAIN(125) Called from MAIN(147) But if there is no extension of attached files (or '.txt' for example), there is no problem ???? With XBase++ 1.8 it worked O'k. Any idea? This is very important for me. Thanks. -- Best regards, Igor Golobrodskiy WG SoftPro E-mail: igor@wgsoftpro.com URL: http://www.wgsoftpro.com | |
Gogo Koenig [Alaska Software] | Re: Error with 1.82 on Tue, 06 May 2003 08:50:09 +0200 Igir, this is related to PDR 5222 and is fixed in 1.82.294. You are using Xbase++ version 1.82.293 (!) so just update to the current version and the error will be gone. Regards, Gogo Koenig Technical Support Alaska Software -------------------------------------------- Technical Support EMEA: support@de.alaska-software.com Technical Support APRA: support@us.alaska-software.com News Server: nntp://news.alaska-software.com Homepage: www.alaska-software.com WebKnowledgeBase: www.alaska-software.com/kb !!! -------------------------------------------- "Igor Golobrodskiy" <igor@wgsoftpro.com> schrieb im Newsbeitrag news:3eb693c0@asgcom.alaska-software.com... > I have a big problem with you sample SendMail() and attached files. > > SendMail( cHost, ; name of mail server (defaults to "mail") > cFrom, ; mail address of sender > acToAddr, ; recipient ( "ac" means: string or array > of strings ) > cSubject, ; subject line > cMessage, ; message body > , ; CC: recipients > , ; BCC: recipients > {'d:\export.mac'}, ; name(s) of attached > file(s) > cLogFile ) log file name > > -------------------------------------------------------------------------- -- > -- > ERROR LOG of "C:\Alaska\XPPW32\SOURCE\ASINET\MAIL\MAIL.EXE" Date: 05/05/2003 > 19:35:57 > > Xbase++ version : Xbase++ (R) Version 1.82.293 > Operating system : Windows 2000 05.00 Build 02195 Service Pack 2 > -------------------------------------------------------------------------- -- > -- > oError:args : > -> VALTYPE: C VALUE: ; name="export.mac" > oError:canDefault : N > oError:canRetry : N > oError:canSubstitute: Y > oError:cargo : NIL > oError:description : Parameter has a wrong data type > oError:filename : > oError:genCode : 2 > oError:operation : <NIL>+=<; name="...> > oError:osCode : 0 > oError:severity : 2 > oError:subCode : 3 > oError:subSystem : BASE > oError:thread : 1 > oError:tries : 0 > -------------------------------------------------------------------------- -- > -- > CALLSTACK: > -------------------------------------------------------------------------- -- > -- > Called from MIMECONTENT:ENCODEBYNAME(174) > Called from MIMEMESSAGE:ATTACHFILE(186) > Called from (B)SENDMAIL(157) > Called from SENDMAIL(157) > Called from SENDIT(179) > Called from (B)MAIN(125) > Called from MAIN(147) > > > But if there is no extension of attached files (or '.txt' for example), > there is no problem ???? > > With XBase++ 1.8 it worked O'k. > > Any idea? > This is very important for me. > Thanks. > > -- > Best regards, > Igor Golobrodskiy > WG SoftPro > E-mail: igor@wgsoftpro.com > URL: http://www.wgsoftpro.com > > | |
Igor Golobrodskiy | Re: Error with 1.82 on Tue, 06 May 2003 11:22:04 +0300 Thanks... -- Best regards, Igor Golobrodskiy WG SoftPro E-mail: igor@wgsoftpro.com URL: http://www.wgsoftpro.com |