Gracias a Leandro Minatel
&smtpsession.Host = 'smtp.gmail.com'
&smtpsession.Port = 465
&smtpsession.UserName = 'torrilux@gmail.com'
&smtpsession.Password = 'xxxxxxxxx'
&smtpsession.Authentication = 1
&smtpsession.Secure = 1
&message.Subject = 'Prueba '
&message.From.Address = 'torrilux@gmail.com'
&message.From.Name = 'Jose Torres'
&message.To.New( 'LeandroG' , 'leandrominatel@gmail.com' )
&message.CC.New( 'LeandroH' , 'leandrominatel@hotmail.com' )
&smtpsession.Login( )
&smtpsession.Send( &message )
msg( &smtpsession.ErrDescription )
No hay comentarios:
Publicar un comentario