Closed flexsoluciones closed 8 months ago
You have to make sure all of the settings are correct: cServer, cUser, cPassword, nSecurityOptions, etc.
yes ,It may be that attachments don't exist in some cases
The error message sounds more like the settings are not correct.
try IF !EMPTY(fileridesri) AND !EMPTY(filerespsri) .cAttachments = &fileridesri + ',' + &filerespsri ENDIF
The error message is "Incorrect authentication data". It does not say anything about attachments. Can you send an email without an attachment or does that fail too?
Closing this for lack of response. Feel free to reopen it if necessary.
error OLE IDispatch exception code 0 from MailKit: 535: Incorrect authentication data..", run in form vfp
port user and password correct ?
in main prg
SET PROCEDURE TO sfmail.prg