Search found 51 matches: cfrom

Return to advanced search

usando CDOSYS marca error, mail

... instalar en las pc's donde no funciona o que deberia configurar. LAS FUNCIONES SON ESTAS // --- Envio de correo electronico Function SendEmail(cFrom,cTo,cBCC,cAttach,cSubject,cBody,cUser,cPass) Local oDlg, aCtl[ 22 ], oFont Local cMailServer := PadR( "smtp.gmail.com", 60 ) // servidor ...
by noe aburto
Tue May 12, 2015 2:15 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: usando CDOSYS marca error, mail
Replies: 4
Views: 1128

Re: DEFINE MAIL ...

... de Fivewin no funciona bien con los servidores smtp más recientes que usan los ISP. Prueba así: LOCAL oSmtp, oEMail LOCAL cSmtpUrl LOCAL cSubject, cFrom, cTo, cBody, cFile // preparing data for eMail cSmtpUrl := "smtp://mailaccount:password@smtp.server.com" cSubject := "Testing eMail" ...
by FiveWiDi
Sun Dec 15, 2013 12:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: DEFINE MAIL ...
Replies: 9
Views: 2455

Re: DEFINE MAIL ...

... de Fivewin no funciona bien con los servidores smtp más recientes que usan los ISP. Prueba así: LOCAL oSmtp, oEMail LOCAL cSmtpUrl LOCAL cSubject, cFrom, cTo, cBody, cFile // preparing data for eMail cSmtpUrl := "smtp://mailaccount:password@smtp.server.com" cSubject := "Testing eMail" ...
by lucasdebeltran
Fri Dec 13, 2013 9:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DEFINE MAIL ...
Replies: 9
Views: 2455

Re: CDO Email strange behavoir

Rick,

Glad to hear you solved the problem.

I always specify the From field like this:

cFrom:= ["James Bott" <jbott@whatever.com>]

I never tried using a bogus email address during testing--I just send test emails to myself.

Regards,
James
by James Bott
Tue Jul 23, 2013 2:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CDO Email strange behavoir
Replies: 12
Views: 4002

Re: CDO Email strange behavoir

... the infamous "Member not found" ADO error which doesn't really tell me much .. Here is what I found and this seems to be the fix .. the cFrom when dealing with gMail has to be a fully distinguished email address rather than just a value even if it is a dummy name and domain. cFrom := ...
by Rick Lipkin
Mon Jul 22, 2013 10:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CDO Email strange behavoir
Replies: 12
Views: 4002

Re: Bad Email Dreams ...

... if necessary IF ( SmtpAuthenticate(hClient, SMTP_AUTH_DEFAULT, cUser, cPassword) ) = -1 compose the message hMessage := MimeComposeMessage(cFrom, cTo, cCC, cSubject, cMessage, , MIME_CHARSET_DEFAULT, MIME_ENCODING_DEFAULT ) send the message nReturn := SmtpSendMessage( hClient, cFrom, cTo, ...
by Randal
Tue Jan 01, 2013 3:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bad Email Dreams ...
Replies: 53
Views: 19178

Re: Volviendo al tema CDO

... .F. local nIError := 0 local cHost := "" * * PUBLIC cMailServer,; //:= PadR( "smtp.gmail.com", 60 ), ; // servidor de correo cFrom ,; //:= PadR( "remitente@gmail.com", 60 ), ; // remitente nPort ,; //:= 465, ; // puerto usado por el servidor de correo cUser ,; //:= ...
by Armando Picon
Fri Nov 04, 2011 2:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Volviendo al tema CDO
Replies: 19
Views: 6366

MySql

... connection string ? Should i have to install an ODBC drivers ? Here is a sample with MS sql : cConnStr := 'Provider='+cPROVIDER+';Data Source='+cFrom+';Initial Catalog='+cDB+';User Id='+cuser+';Password='+cpsw oCon := TOLEAuto():New('ADODB.Connection') oCon:ConnectionString := cConnStr * Thanks
by Jack
Mon Jul 25, 2011 8:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MySql
Replies: 4
Views: 784

Manuel Mercado hb_vmDo() sbrowse6.0 y sbrowse9.0

... 6.0 no marca el error, pero si uso la sbrowse 9.0 si lo hace, exactamente eln la linea: // --- Enviar un mail Function fSendMail( cMailServer, cFrom, cTo, cSubject, cBody, cAttach, cBCC, cUser, cPass, nPort ) ... ... ... Try oCfg := CreateObject( "CDO.Configuration" ) With Object ...
by noe aburto
Mon Jun 27, 2011 4:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Manuel Mercado hb_vmDo() sbrowse6.0 y sbrowse9.0
Replies: 0
Views: 421

Manuel Mercado hb_vmDo() sbrowse6.0 y sbrowse9.0

... 6.0 no marca el error, pero si uso la sbrowse 9.0 si lo hace, exactamente eln la linea: // --- Enviar un mail Function fSendMail( cMailServer, cFrom, cTo, cSubject, cBody, cAttach, cBCC, cUser, cPass, nPort ) ... ... ... Try oCfg := CreateObject( "CDO.Configuration" ) With Object ...
by noe aburto
Mon Jun 27, 2011 4:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Manuel Mercado hb_vmDo() sbrowse6.0 y sbrowse9.0
Replies: 0
Views: 366

Re: Linea de comandos con Emailer SOLUCIONADO

... STATIC Function FSendMail( cMailServer, cFrom, cTo, cSubject, cBody, cAttach, cBCC, cUser, cPass, nPort ) /*--------------------------------------------------------------------------------------------------------*/ ...
by jll-fwh
Sat Nov 06, 2010 8:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Linea de comandos con Emailer SOLUCIONADO
Replies: 7
Views: 2604

Re: enviar emails desde fwh

... Function Main() Local oDlg, aCtl[ 20 ], oFont Local cMailServer := PadR( "smtp.hotmail.com", 60 ), ; // servidor de correo cFrom := PadR( "remitente@hotmail.com", 60 ), ; // remitente cTo := PadR( "destinatarios@hotmail.com", 180 ), ; // destinatario ...
by FranciscoA
Wed Feb 25, 2009 2:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: enviar emails desde fwh
Replies: 44
Views: 21016

Re: Send email

Try: FUNCTION HB_SendMail( cServer, nPort, cFrom, aTo, aCC, aBCC, cBody, cSubject, aFiles, cUser, cPass, cPopServer, nPriority, lRead, lTrace, lPopAuth, lNoAuth, nTimeOut, cReplyTo ) /* cServer -> Required. IP or domain name of the mail server ...
by Enrico Maria Giordano
Mon Feb 23, 2009 4:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Send email
Replies: 5
Views: 1727

Re: Linux using the SENDMAIL script?

****************************************************************** Function SendMail(cNameFrom,cFrom,cNameTo,cTo,cBcc,cSubject,cText) ****************************************************************** Local cTxt If Empty(cNameFrom) ; cNameFrom:="" ; Endif If ...
by Davide
Wed Dec 31, 2008 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Linux using the SENDMAIL script?
Replies: 1
Views: 462

... ) } oOutMail:bDone := { || oWndMdi:SetMsg( "Message sent successfully" ) } oOutMail:bFailure := { || oOutMail:nStatus := 7 } oOutMail:SendMail( cFROM,; // From { cTO },; //, cPMOEMAIL, cSPOEMAIL },; // To cMESSAGE,; // Msg Text cSUBJECT,; {"C:\DBTMP\PROJINFO.BAT"},; // attachment aCC, ; // cc ...
by Rick Lipkin
Mon Dec 08, 2008 7:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsmtp ( again )
Replies: 3
Views: 1415
PreviousNext

Return to advanced search