FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Enviar e-mail - clave de usuario
Posts: 325
Joined: Sun Feb 03, 2008 11:04 PM
Enviar e-mail - clave de usuario
Posted: Thu Dec 18, 2008 08:39 PM
Enviar e-mail

Como hago para enviar la clave del correo, el servidos de correo me pide la confirmación.


function SendMail()

   local oOutMail, cIP

   oWnd:SetMsg( "Sending Internet email..." )

   WSAStartup()
   oOutMail := TSmtp():New( cIP := GetHostByName( "smtp.fivetechsoft.com" ) )
   MsgInfo( cIP )

   oOutMail:bConnecting = { || oWnd:SetMsg( "Connecting to smtp.fivetechsoft.com..." ) }
   oOutMail:bConnected  = { || oWnd:SetMsg( "Connected" ) }
   oOutMail:bDone       = { || oWnd:SetMsg( "Message sent successfully" ) }

   oOutMail:SendMail( "alinares@fivetechsoft.com",;     // From
                      { "alinares@fivetechsoft.com" },; // To
                      "It is working!!!",;              // Msg Text
                      "Testing FiveWin Class TSmtp enhancements",; // Subject
                      { "testsmtp.prg", "testsmtp.zip" } )  // attached files

return nil


saludos

david
argentina
Posts: 325
Joined: Sun Feb 03, 2008 11:04 PM
Enviar e-mail - clave de usuario
Posted: Fri Dec 19, 2008 12:26 PM

Estimado Antonio

Es posible lo abajo descripto??

saludos

Posts: 325
Joined: Sun Feb 03, 2008 11:04 PM
Enviar e-mail - clave de usuario
Posted: Sun Dec 21, 2008 02:45 PM

Estimados

Descarto la posilidad??

busco otra opcion??

gracias

david
argentina

Posts: 989
Joined: Thu Nov 24, 2005 03:01 PM
Enviar e-mail - clave de usuario
Posted: Sun Dec 21, 2008 09:09 PM

David Barrio,

¿Probaste la respuesta que te puse en la lista de puerto sur? Seguis preguntando pero no respondiste a la sugerencia,

Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"

Continue the discussion