Enviar e-mail
Como hago para enviar la clave del correo, el servidos de correo me pide la confirmación.
saludos
david
argentina
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 nilsaludos
david
argentina