wodXMPPCom cannot sendmessage - WeOnlyDo Discussion board

wodXMPPCom cannot sendmessage (General questions)

by insane2014, Saturday, April 06, 2013, 11:34 (4031 days ago)

I need to use sendmessage method instead of sendtext because GTALK under ANDROID phones ignores message of type normal , but I have a BIG problem with the following code (type mismatch sendmessage ) :

[code]
Dim XMPP1

Set XMPP1 = WScript.CreateObject( WeOnlyDo.wodXMPPCom.1 , wod_ )
XMPP1.LicenseKey = XXXX-XXXX-XXXX-XXXX
XMPP1.Login = xxxx@gmail.com
XMPP1.Password = mypass
XMPP1.Blocking = True
XMPP1.Connect ( talk.google.com )

dim jmsg

set jMsg = WScript.CreateObject( weonlydo.xmppmessage.1 )

jMsg.Type = 1
jMsg.Text = New chat message

jMsg.Subject = Livehelp
call XMPP1.SendMessage ( myaccount@gmail.com , jmsg)
[/code]

Is there a solution or an alternative for send through sendtext setting message type=1 ?


Complete thread: