I see the error 503 "sender not given yet", but i have send the login-name in the init statemaent and in the "sender" statement. I think the lib need a "from"-flied, but i cant see where i can set this....
I think in moment both statements are the same.
oSMTP.Initialize("smtp.xxxx.de",587, "username", "password", "SMTP")
oSMTP.Sender="sender@sender.de"
oSMTP.AuthMethod=oSMTP.AUTH_LOGIN
oSMTP.StartTLSMode = True
oSMTP.UseSSL =True
oSMTP.To.Add("touser@tomail.de")
oSMTP.Subject = "das ist eine Testmail"
oSMTP.HtmlBody = True
oSMTP.Body = "Mailtest !!!!" '
oSMTP.Send
I think in moment both statements are the same.
oSMTP.Initialize("smtp.xxxx.de",587, "username", "password", "SMTP")
oSMTP.Sender="sender@sender.de"
oSMTP.AuthMethod=oSMTP.AUTH_LOGIN
oSMTP.StartTLSMode = True
oSMTP.UseSSL =True
oSMTP.To.Add("touser@tomail.de")
oSMTP.Subject = "das ist eine Testmail"
oSMTP.HtmlBody = True
oSMTP.Body = "Mailtest !!!!" '
oSMTP.Send