Hi Massimo,
Save the code below into a file. Test.prg PRG into the folder called \
harbor \ contrib \ hbtip \ tests \ and compiled using hbmk2.exe. By
generating the executable without error, but when I run it generates the
following error:
Error BASE/1081 Operation not supported: TIPCLIENTSMTP:new()
Called from TIPCLIENT:NEW(0)
Called from TIPCLIENTSMTP:NEW(0)
Called from HB_SENDMAIL(0)
Called from MAIN(9)
***
o codigo usado no test.prg é:
cServerIP="smtp.mydomain.com"
cFrom="[email protected]"
cUserName="myusername"
cPassword="mypassword"
aTo="[email protected]"
cSubject="Hello Bill"
cMsg="Can you join to harbour project?"
HB_SendMail(cServerIP,,cFrom,aTo,,,cMsg,cSubject,,cUserName,cPassword,cServerIP,,.f.,.f.,.f.)
*****
I am using the current version of the harbour and I am compiling SVN 5.5.1
with BCC, do you have any tips on how to solve this problem?
Note: In xHarbour am able to use the HB_SENDMAIL () without problems.
Leonardo Machado
Massimo Belgrano-3 wrote:
>
> Untested
> Refer to your smtp/pop server for info
>
> function main
> cServerIP="smtp.mydomain.com"
> cFrom="[email protected]"
> cUserName="myusername"
> cPassword="mypassword"
> [email protected]"
> cSubject="Hello Bill"
> cMsg="Can you join to harbour project?"
>
> HB_SendMail(cServerIP,,cFrom,aTo,,,cMsg,cSubject,,cUserName,cPassword,cServerIP,,.f.,.f.,.f.)
> return
>
> 2009/4/15 sygecom <[email protected]>:
>>
>> Hello Viktor,
>> If not bothered, that would be put as an sample of use of HB_SENDMAIL in
>> the
>> \CONTRIB\HBTIP\TESTS that I can compile using hbmk2.exe.
>> Here is giving error in everything related to HBTIP.LIB. I am using the
>> BCC
>> 5.5.1 for now to compile the samples.
>>
>> Leonardo Machado
>
>
> --
> Massimo Belgrano
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
>
--
View this message in context:
http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-10860--trunk-harbour-tp23049251p23061666.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour