function main() local oWnd define window oWnd activate window oWnd on init doit() return nil
function doit() local oMail,aCustomer:={} local cSubject:="Test mail" local cMessage:="This is a test message." aadd(aCustomer,"test@test.nl;test1@test.nl")
DEFINE MAIL oMail; SUBJECT cSubject; TEXT cMessage oMail:aRecipients:=aCustomer ACTIVATE MAIL oMail
Ok, i've downloaded xHarbour and changed the directories in my scriptfiles from Harbour to xHarbour (is that all, or do i have to do more?)
after completely compiling this error pops up: Program with 1st fun: Alert was compiled by older version, PCODE version 0 is no longer supported - Please recompile.
How do i do this and can i expect more of these warnings?
John wrote:Ok, i've downloaded xHarbour and changed the directories in my scriptfiles from Harbour to xHarbour (is that all, or do i have to do more?)
after completely compiling this error pops up: Program with 1st fun: Alert was compiled by older version, PCODE version 0 is no longer supported - Please recompile.
How do i do this and can i expect more of these warnings?
Best regards,
John.
In your link script replace echo ..\lib\Fiveh.lib ..\lib\FiveHC.lib + >> b32.bc with echo ..\lib\Fivehx.lib ..\lib\FiveHC.lib + >> b32.bc
It seems i'm not using the correct string for multiple recipients correctly, because for only one recipient it works.
As I mentioned in a previous message, that syntax works for me. You could also try a comma or space delimiter instead. Also, try surrounding the address with <>.
/*verificacion de envio de correo*/ IF !oSMTP.SendMail /*error en envio*/ MsgAlert(oSMTP.Response,"Error en envio de correo!") ELSE *envio exitoso MsgInfo("Envio de llamadas por correo exitoso!","Informacion") ENDIF