sistem Posted October 13, 2014 Report Share Posted October 13, 2014 a Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 13, 2014 Report Share Posted October 13, 2014 Tente: {"@outlook.com", "smtps.live.com", 465, .T. },; // ou 587 abs Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 13, 2014 Report Share Posted October 13, 2014 Eu não tenho outlook.com Se tiver algum ai que possa liberar a senha, envie no meu emai ou skype que eu testo aqui. abs. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 13, 2014 Report Share Posted October 13, 2014 Tente também: smtps.login.live.com Quote Link to comment Share on other sites More sharing options...
Eduardo Bilato Posted October 13, 2014 Report Share Posted October 13, 2014 O hotmail usa a criptografia TSL, talvez seja por isso que esteja dando erro no envio de email. Chegou a verificar algo do tipo ? Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 13, 2014 Report Share Posted October 13, 2014 Tente: {"@live.com", "smtp.live.com", 25, .T. },; // ou porta 995 (requer autenticação criptografada) ou {"@live.com", "smtps.live.com", 25, .T. },; // ou porta 995 (requer autenticação criptografada) Verifique se a senha está correta mesmo, entrando no outlook.com. com o email e senha corretos. abs Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 13, 2014 Report Share Posted October 13, 2014 Essa senha está incorreta. Verifique se você está usando a senha da sua conta da Microsoft. Conta da Microsoft O que é isto? Senha Mantenha-me conectado Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 13, 2014 Report Share Posted October 13, 2014 desculpa a senha é 12345678br Tente: mail.live.com {"@mail.live.com", "smtp.live.com", 995, .T. },; // (requer autenticação criptografada) Agora, já está tarde, não dá para testar, qquer coisa, testo amanhã. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 14, 2014 Report Share Posted October 14, 2014 "Hotmail O Hotmail foi feito para comunicar-se apenas com o Outlook e Outlook Express (pois pertencem a mesma empresa). Crie uma conta de e-mail em outro servidor. " http://imastercontro...cess-other.html abs. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 14, 2014 Report Share Posted October 14, 2014 Agora fiquei com esta duvida, se bem que das duas formas funciona, mas qual e mais correta? cdoAuthenticationType: .T. 0 1 ou 2?? /* //cdoAuthenticationType = 0 //No Authentication cdoAuthenticationType = 1 //Basic Authentication //cdoAuthenticationType = 2 //NTML Authentication */ LOCAL lAut := 1 // .T. // Duvida e .T. ou 0, 1, 2 ?? :Item( "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" ):Value := lAut abs. Quote Link to comment Share on other sites More sharing options...
sygecom Posted October 27, 2014 Report Share Posted October 27, 2014 Alguém conseguiu alguma solução para enviar email usando TLS ( preciso enviar email usando office365.com ) ? Quote Link to comment Share on other sites More sharing options...
sygecom Posted October 27, 2014 Report Share Posted October 27, 2014 Tentei de tudo que foi jeito e não consegui, mas que M......... Valeu a tentativa Quote Link to comment Share on other sites More sharing options...
frkiko Posted October 28, 2014 Report Share Posted October 28, 2014 O meu funcionava normalmente, parou. Isso é coisa do provedor. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 24, 2014 Report Share Posted November 24, 2014 Alguem pode testar? Vejam para gmail.com: se funcionar, testar no outlook.com GET ::AUTH SECTION "MAIL" ENTRY "AUTH" OF oIni DEFAULT 1 GET ::SSL SECTION "MAIL" ENTRY "SSL" OF oIni DEFAULT .T. METHOD LoadIni( cFile ) CLASS TPresencia Local oIni INI oIni FILE ".\" + cFile GET ::smtpServer SECTION "MAIL" ENTRY "SMTPSERVER" OF oIni DEFAULT "" GET ::smtpPort SECTION "MAIL" ENTRY "PORT" OF oIni DEFAULT 25 GET ::sendusing SECTION "MAIL" ENTRY "SENDUSING" OF oIni DEFAULT 2 GET ::username SECTION "MAIL" ENTRY "USER" OF oIni DEFAULT "" GET ::password SECTION "MAIL" ENTRY "PASSWORD" OF oIni DEFAULT "" GET ::AUTH SECTION "MAIL" ENTRY "AUTH" OF oIni DEFAULT 1 GET ::SSL SECTION "MAIL" ENTRY "SSL" OF oIni DEFAULT .T. GET ::TimerOut SECTION "MAIL" ENTRY "TIMEROUT" OF oIni DEFAULT 10 GET ::Copia_Oculta SECTION "MAIL" ENTRY "COPIAOCULTA" OF oIni DEFAULT "" GET ::Con_Copia SECTION "MAIL" ENTRY "CONCOPIA" OF oIni DEFAULT "" GET ::GENERIC_TEXT SECTION "MAIL" ENTRY "TEXTO" OF oIni DEFAULT "" GET ::FROM SECTION "MAIL" ENTRY "FROM" OF oIni DEFAULT "" GET ::CUERPO SECTION "MAIL" ENTRY "TEXTBODY" OF oIni DEFAULT "" ENDINI RETURN NIL ****************************************************************************************** METHOD SendMail() CLASS TPresencia ****************************************************************************************** Local oError, oEmailCfg, oEmailMsg , cFile TRY oEmailCfg := CREATEOBJECT( "CDO.Configuration" ) WITH OBJECT oEmailCfg:Fields :Item( "http://schemas.microsoft.com/cdo/configuration/smtpserver" ):Value := ::smtpServer :Item( "http://schemas.microsoft.com/cdo/configuration/smtpserverport" ):Value := ::smtpPort :Item( "http://schemas.microsoft.com/cdo/configuration/sendusing" ):Value := ::sendusing // Remote SMTP = 2, local = 1 // smtpauthenticate // 0 cdoAnonymous Perform no authentication. // 1 cdoBasic Use the basic (clear text) authentication mechanism. // 2 cdoNTLM Use the NTLM authentication mechanism. :Item( "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" ):Value := ::AUTH // 0 , 1 ,2 :Item( "http://schemas.microsoft.com/cdo/configuration/smtpusessl" ):Value := ::SSL :Item( "http://schemas.microsoft.com/cdo/configuration/sendusername" ):Value := ::username :Item( "http://schemas.microsoft.com/cdo/configuration/sendpassword" ):Value := ::Password :Item( "http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout"):Value := ::TimerOut :Update() END WITH CATCH oError ? "---->Error en la configuracion" END oError := NIL TRY oEmailMsg := CREATEOBJECT ( "CDO.Message" ) WITH OBJECT oEmailMsg :Configuration = oEmailCfg :From := ::FROM :To := ::email // <----- Coloca tu dirección de correo :CC := ::Con_Copia // Con copia :BCC := ::Copia_Oculta // Con Copia Oculta :Subject := ::Asunto // Asunto // :MDNRequested = .T. // Solicitud de reconocimiento, o acuse de recibo :TextBody := ::Cuerpo for each cFile in ::aFiles :AddAttachment( cfile ) next :Fields:update() :Send() // ? "[ "+Time()+" ] Enviado correo :"+ ::email END CATCH oError ? "---->Error en el envio del mensaje:"+ oError:Description END oEmailCfg := NIL oEmailMsg := NIL SysRefresh() Return .T. Ou testar esta ferramenta do William, Morales: http://forums.fivetechsupport.com/viewtopic.php?f=6&t=26689 Quem sabe... abs. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 24, 2014 Report Share Posted November 24, 2014 http://harbouradvisor.blogspot.com.br/2008/11/otra-forma-de-enviar-correo.html Quote Link to comment Share on other sites More sharing options...
sygecom Posted November 24, 2014 Report Share Posted November 24, 2014 Com TSL já tentei e não da certo. kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 24, 2014 Report Share Posted November 24, 2014 Leonardo, tente assim: :Item( "http://schemas.microsoft.com/cdo/configuration/smtpusetls" ):Value := .T. Sugestão do Rafa Carmona. abs Quote Link to comment Share on other sites More sharing options...
frkiko Posted November 25, 2014 Report Share Posted November 25, 2014 Alterei o SMTP para smtp-mail.outlook.com e está funcionando. kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 25, 2014 Report Share Posted November 25, 2014 Alterei o SMTP para smtp-mail.outlook.com e está funcionando. Sem usar o: :Item( "http://schemas.microsoft.com/cdo/configuration/smtpusetls" ):Value := .T. Ficou assim? {"@outlook.com.", "smtp-mail.outlook.com", 465, .T. },; Obg. abs. . Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 25, 2014 Report Share Posted November 25, 2014 Francisco, não funcionou, o que está errado na configuração? http://www.4shared.com/photo/_OTE0ex_ba/OUTLOOK.html abs, Quote Link to comment Share on other sites More sharing options...
aferra Posted November 25, 2014 Report Share Posted November 25, 2014 ao invés de 587, coloque 465 kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 25, 2014 Report Share Posted November 25, 2014 ao invés de 587, coloque 465 Já testei com 25, 465 e 587 e nada, Não vai. abs. É https? sim. e também com Não: http, e nada. teste ai, criei este email de teste e está enviando de boa diretamente no provedor: nfepleno@outlook.com smtp-mail.outlook.com está disponível. a senha é 1234567br abs. Quote Link to comment Share on other sites More sharing options...
frkiko Posted November 25, 2014 Report Share Posted November 25, 2014 Grande João tenta assim smtp-mail.outlook.com 587 T F Quote Link to comment Share on other sites More sharing options...
frkiko Posted November 25, 2014 Report Share Posted November 25, 2014 SMTP-mail.outlook.com Porta 587 lPopAuth := .t. lSsl := .f. :Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"):Value:=lPopAuth :Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") :Value:=lSsl não testei ainda tem este tb SMTP-mail.outlook.com Porta 25 lPopAuth := .t. lSsl := .t. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 25, 2014 Report Share Posted November 25, 2014 Francisco: https? Sim = .T., não funcionou. https? Nao = .F., não funcionou. Você tem certeza que funcionou ai, ou xutastes? kkkkkkkkkkkkkkkkkkkkkk abs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.