tried to send an e-mail via Qlikview. Hitting the send button open macro editor at line "objMessage.Send". The errormessage is
"The server rejected the sender address. The server response was: 550 5.7.0 Need to authenticate via SMTP-AUTH-Login {mp068}"
Tried with my gmx account.With AOL I get: "The server rejected the sender address. The server response was: 556 CLIENT AUTHENTICATION REQUIRED. USE ESMTP EHLO AND AUTH."
tried this with an asp page on local webserver and it works.
Code (from Eugene)
Public Function SendMail (SendTo)
Set objMessage = CreateObject("CDO.Message") objMessage.Subject = Subject objMessage.From = From objMessage.To = SendTo objMessage.CC = SendCC objMessage.BCC = SendBCC objMessage.TextBody = Body 'msgbox Attachment if( not "" = Attachment) then objMessage.AddAttachment Attachment end if