Search found 38 matches: addattachment

Return to advanced search

Enviar Correos CDO con fwh2307

... = 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 ...
by EASYSOFT
Mon Aug 21, 2023 5:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Enviar Correos CDO con fwh2307
Replies: 15
Views: 860

Sample working send mail

... OBJECT oEmailMsg :From := alltrim(_from) :To := alltrim(_to) :CC := "" :BCC := "" :Subject := _subject :TextBody := _textbody :AddAttachment( ALLTRIM( "c:\test0.prg" ) ) WITH OBJECT :configuration:Fields :Item( cSchema + "smtpserver" ):Value := alltrim(_smtpserver) ...
by Romeo
Tue May 17, 2022 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sample working send mail
Replies: 11
Views: 982

Re: New Fivewin with new PDF

... := "" oEmailMsg:Subject := cSubject oEmailMsg:MDNRequested := FALSE oEmailMsg:HTMLBody := cBody If File( cAttach ) oEmailMsg:AddAttachment := cAttach Endif If lAttachCsv .AND. File( cCsvFile ) oEmailMsg:AddAttachment := cCsvFile Endif oEmailMsg:Send() Catch oError MsgInfo( ...
by byron.hopp
Tue Apr 05, 2022 7:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Fivewin with new PDF
Replies: 12
Views: 938

Re: New Fivewin with new PDF

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 ...
by karinha
Tue Apr 05, 2022 10:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Fivewin with new PDF
Replies: 12
Views: 938

Re: New Fivewin with new PDF

... -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 ...
by byron.hopp
Mon Apr 04, 2022 11:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Fivewin with new PDF
Replies: 12
Views: 938

Re: Send EMail Within FW Appplication....

... oMsg:CC = cCc ENDIF IF !lHtml oMsg:TextBody = cMessage ELSE oMsg:HTMLBody = cMessage ENDIF IF !EMPTY( aAttach ) FOR i = 1 TO LEN( aAttach ) oMsg:AddAttachment( aAttach[ i ] ) NEXT ENDIF IF lNotification oMsg:Fields:Item( "urn:schemas:mailheader:disposition-notification-to" ):Value = ...
by RiazKhan
Tue Jun 08, 2021 7:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Send EMail Within FW Appplication (RESOLVED)
Replies: 18
Views: 3085

Re: Mail TLS 1.2 LegalMail Fatt Elettronica

... :CC :="" :BCC :="" :Subject := "Soggetto" :TextBody := "Testo del messaggio" :AddAttachment(hb_curdrive()+":\"+curdir()+"\test.txt" ) WITH OBJECT :configuration:Fields :Item( cSchema + "smtpserver" ...
by Romeo
Wed Jul 03, 2019 5:13 pm
 
Forum: All products support
Topic: Mail TLS 1.2 LegalMail Fatt Elettronica
Replies: 23
Views: 13672

Re: Mail TLS 1.2 LegalMail PEC

... :CC :="" :BCC :="" :Subject := "Soggetto" :TextBody := "Testo del messaggio" :AddAttachment(hb_curdrive()+":\"+curdir()+"\test.txt" ) WITH OBJECT :configuration:Fields :Item( cSchema + "smtpserver" ...
by Romeo
Wed Jul 03, 2019 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mail TLS 1.2 LegalMail PEC
Replies: 4
Views: 728

Re: Mail TLS 1.2 LegalMail Fatt Elettronica

... :CC :="" :BCC :="" :Subject := "Soggetto" :TextBody := "Testo del messaggio" :AddAttachment(hb_curdrive()+":\"+curdir()+"\test.txt" ) WITH OBJECT :configuration:Fields :Item( cSchema + "smtpserver" ...
by Romeo
Wed Jul 03, 2019 12:05 pm
 
Forum: All products support
Topic: Mail TLS 1.2 LegalMail Fatt Elettronica
Replies: 23
Views: 13672

Mail TLS 1.2 LegalMail PEC

... :CC :="" :BCC :="" :Subject := "Soggetto" :TextBody := "Testo del messaggio" :AddAttachment(hb_curdrive()+":\"+curdir()+"\test.txt" ) WITH OBJECT :configuration:Fields :Item( cSchema + "smtpserver" ...
by Romeo
Wed Jul 03, 2019 6:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mail TLS 1.2 LegalMail PEC
Replies: 4
Views: 728

Re: Mail TLS 1.2 LegalMail Fatt Elettronica

... :CC :="" :BCC :="" :Subject := "Soggetto" :TextBody := "Testo del messaggio" :AddAttachment(hb_curdrive()+":\"+curdir()+"\test.txt" ) WITH OBJECT :configuration:Fields :Item( cSchema + "smtpserver" ...
by Romeo
Tue Jul 02, 2019 7:41 pm
 
Forum: All products support
Topic: Mail TLS 1.2 LegalMail Fatt Elettronica
Replies: 23
Views: 13672

Mail TLS 1.2 LegalMail Fatt Elettronica

... :CC := "" :BCC := "" :Subject := _subject :TextBody := _textbody for _j:=1 to len(_arrattach) _cfile:=_arrattach[_j] :AddAttachment(_cfile) next _j WITH OBJECT :configuration:Fields :Item( cSchema + "smtpserver" ):Value := alltrim(_smtpserver) :Item( cSchema ...
by Romeo
Tue Jul 02, 2019 4:39 pm
 
Forum: All products support
Topic: Mail TLS 1.2 LegalMail Fatt Elettronica
Replies: 23
Views: 13672

Re: Invio Posta PEC

... "pincopalla@pec.it" :CC := "" :BCC := "" :Subject := ALLTRIM( "ALGO" ) :TextBody := "CUERPITO" :AddAttachment( ALLTRIM( "c:\test.prg" ) ) WITH OBJECT :configuration:Fields :Item( cSchema + "smtpserver" ):Value := "smtp.gmail.com" ...
by Romeo
Fri Sep 21, 2018 3:54 pm
 
Forum: All products support
Topic: Invio Posta PEC
Replies: 4
Views: 1485

Re: email CDO caracter problem

... oCfg :From = cFrom :To = cTo :CC = cCC :BCC = cBCC :Subject = cSubject :TextBody = cMsg For x2 := 1 To Len( cAttach ) if cAttach[x2] <> NIL :AddAttachment(cAttach[x2]) endif Next :Send() END WITH lRet := .t. CATCH lRet := .f. ++Vezes loop END Exit Enddo Return lRet
by Wanderson
Wed May 25, 2016 12:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: email CDO caracter problem
Replies: 13
Views: 1947

Re: usando CDOSYS marca error, mail

... 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() ...
by rterraz
Mon Aug 10, 2015 4:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: usando CDOSYS marca error, mail
Replies: 4
Views: 1128
Next

Return to advanced search