... = oCfg :From = cFrom :To = cTo :CC = cCC :BCC = cBCC :Subject = cSubject :TextBody = cMsg For x := 1 To Len( aAttach ) if aAttach[x] <> NIL :AddAttachment(AllTrim(aAttach[x])) endif Next :Send() END WITH lRet := .t. CATCH MsgInfo("No fue posible enviar el correo") lRet := .f. END ...
Good Morning, oEmailMsg:AddAttachment method Show your email sending routine please. test it too, with my email sending routine: RMAIL.PRG Download Complete, https://mega.nz/file/FQFWgIDT#kvRtIHIesRpTw9I8CxJenTRikG4VXM0t_7J8qVQsOX8 ...
... -2147352573;SubSystem: WINOLE;Message: Argument error This seems to happen right when I attempt to attach the file using the oEmailMsg:AddAttachment method. If I don't include an attachment the email sends fine. Is there a way to get better information on the Argument error to help ...
... funcione correctamente se debe corregir una linea del codigo que esta mal escrita esto es lo que dicce en el PRG: For nEle := 1 To Len( aAttach ) :AddAttachment := AllTrim( aAttach[ nEle ] ) Next el error se produce al tratar de adjuntar archivos porque esta mal escrito el argumento de :AddAttachment() ...