Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Reflection.Assembly]::LoadFile("c:\temp\agsXMPP.dll")
$clientConnection = new-object agsXMPP.XmppClientConnection
$clientConnection.Server = "gmail.com"
$clientConnection.ConnectServer = "talk.google.com"
$clientConnection.Open("EnterYourUserNameHere","EnterYourPasswordHere")
$message = new-object agsXMPP.protocol.client.Message("Who do you want to send the message to ","Errr is this thing on")
$clientConnection.Send($message)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.