Getting a connection refused error. Has anyone been able to get Funcky working using SMTP?
PB 11.2 on a Vista client.
I have been using Funcky for quite sometime and I have successfully instantiated the object and can make valid calls.
I have a need to use SMTP and as I understand it Funcky comes with this built in but I can't find a complete example.
FUNCky = CreateObject("FUNCky")
SMTP = CreateObject("FUNCkySMTP")
SMTP.Server = "mail.xxx.com"
SMTP.FromName = "My Name"
SMTP.FromAddress = "email@example.com"
SMTP.ToName = "firstname.lastname@example.org"
SMTP.ToAddress = "My Name@xxx.com"
SMTP.Subject = "SMTP Test from PB"
SMTP.Message = "Did it work?"
SMTP.Timeout = 10000
If( SMTP.Send()) Then
messagebox("Mail Sent Result","True")
messagebox("Mail Sent Result","Error: # " + string(SMTP.Error) + " - " + stringSMTP.ErrorMessage) )