From: Gunter on 23 Nov 2009 01:46 Hallo all, I use the current Lib from Geoff (downloaded on 19. Nov.) .and. VO 2.8 SP2 (2830) eMail download runs OK but send of eMails does not run: This are real values, everyone can try with them: cPopServer := "pop.1und1.de" (1&1 eMail server needs authentication!!!) cMyUserName := "Test_112009(a)dsh-anklam.de" cMyPassword := "PW_Test_112009" oEmail := CEmail{} oEmail:Subject := "Test eMail" oEmail:cText := "Test Text..." oEmail:cDestList := "gh...(a)web.de" oEmail:FromAddress := cMyUserName oEmail:FromName := cMyUserName oEmail:ReplyTo := cMyUserName oEmail:Cargo := "X-Mailer: TDOC SMTP Mailer" oEmail:EncodeEmail() oSmtp:=CSmtp{ oEmail, "smtp.1und1.de"} oSmtp:SecureSMTP := TRUE IF oSmtp:SecureSMTP oSmtp:UserName := cMyUserName oSmtp:PassWord := cMyPassword ENDIF ?"SendMail:", oSmtp:SendMail() // --> .F. ?"ReplyCode:" +NTrim(oSmtp:ReplyCode) // --> 500 ?"ErrorNo: " +NTrim(oSmtp:Error) // --> 212 ?"ErrorMsg: " +oSmtp:ErrorMsg // 535 Authentication failure What is wrong? I become desperate! Gunter Hübner
From: Geoff Schaller on 23 Nov 2009 02:07 Gunter. You will have to set debug on all the internet libs and review the messages to and from the server in debug view (dbgview.exe). All messages to and from the server are displayed so that you can see which one fails. I presume this is NOT using SSL but just smtp logon? Double-check the account from Outlook or OE or something. But it may be the response messages can tell you something more. Geoff "Gunter" <g.huebner(a)dsh-anklam.de> wrote in message news:8b7f90b7-4e78-4cdf-b4c3-ff072d187965(a)g1g2000vbr.googlegroups.com: > Hallo all, > I use the current Lib from Geoff (downloaded on 19. Nov.) .and. VO 2.8 > SP2 (2830) > eMail download runs OK but send of eMails does not run: > > This are real values, everyone can try with them: > cPopServer := "pop.1und1.de" > (1&1 eMail server needs authentication!!!) > cMyUserName := "Test_112009(a)dsh-anklam.de" > cMyPassword := "PW_Test_112009" > > oEmail := CEmail{} > oEmail:Subject := "Test eMail" > oEmail:cText := "Test Text..." > oEmail:cDestList := "gh...(a)web.de" > > oEmail:FromAddress := cMyUserName > oEmail:FromName := cMyUserName > oEmail:ReplyTo := cMyUserName > oEmail:Cargo := "X-Mailer: TDOC SMTP Mailer" > oEmail:EncodeEmail() > > oSmtp:=CSmtp{ oEmail, "smtp.1und1.de"} > oSmtp:SecureSMTP := TRUE > IF oSmtp:SecureSMTP > oSmtp:UserName := cMyUserName > oSmtp:PassWord := cMyPassword > ENDIF > ?"SendMail:", oSmtp:SendMail() // --> .F. > > ?"ReplyCode:" +NTrim(oSmtp:ReplyCode) // --> 500 > ?"ErrorNo: " +NTrim(oSmtp:Error) // --> 212 > ?"ErrorMsg: " +oSmtp:ErrorMsg // 535 Authentication failure > > What is wrong? > I become desperate! > > Gunter H�bner
From: Gunter on 23 Nov 2009 09:14 On Nov 23, 8:07 am, "Geoff Schaller" <geo...(a)softxwareobjectives.com.au> wrote: > Gunter. > > You will have to set debug on all the internet libs and review the > messages to and from the server in debug view (dbgview.exe). All > messages to and from the server are displayed so that you can see which > one fails. I presume this is NOT using SSL but just smtp logon? > > Double-check the account from Outlook or OE or something. But it may be > the response messages can tell you something more. > > Geoff > > "Gunter" <g.hueb...(a)dsh-anklam.de> wrote in message > > news:8b7f90b7-4e78-4cdf-b4c3-ff072d187965(a)g1g2000vbr.googlegroups.com: > > > > > Hallo all, > > I use the current Lib from Geoff (downloaded on 19. Nov.) .and. VO 2.8 > > SP2 (2830) > > eMail download runs OK but send of eMails does not run: > > > This are real values, everyone can try with them: > > cPopServer := "pop.1und1.de" > > (1&1 eMail server needs authentication!!!) > > cMyUserName := "Test_112...(a)dsh-anklam.de" > > cMyPassword := "PW_Test_112009" > > > oEmail := CEmail{} > > oEmail:Subject := "Test eMail" > > oEmail:cText := "Test Text..." > > oEmail:cDestList := "gh...(a)web.de" > > > oEmail:FromAddress := cMyUserName > > oEmail:FromName := cMyUserName > > oEmail:ReplyTo := cMyUserName > > oEmail:Cargo := "X-Mailer: TDOC SMTP Mailer" > > oEmail:EncodeEmail() > > > oSmtp:=CSmtp{ oEmail, "smtp.1und1.de"} > > oSmtp:SecureSMTP := TRUE > > IF oSmtp:SecureSMTP > > oSmtp:UserName := cMyUserName > > oSmtp:PassWord := cMyPassword > > ENDIF > > ?"SendMail:", oSmtp:SendMail() // --> .F. > > > ?"ReplyCode:" +NTrim(oSmtp:ReplyCode) // --> 500 > > ?"ErrorNo: " +NTrim(oSmtp:Error) // --> 212 > > ?"ErrorMsg: " +oSmtp:ErrorMsg // 535 Authentication failure > > > What is wrong? > > I become desperate! > > > Gunter Hübner- Hide quoted text - > > - Show quoted text - Hello Geoff thank you for replying so quickly. I'm not a big VO programmer. My arts suffice just for our company. On the other hand 1&1 is a big provider hier in germany. So I thought, it's a common problem. And therfore I wrote my real access parameters in my cry for help. If I try it with TELNET (telnet smtp.1und1.de 25 ehlo Test_112009(a)dsh-anklam.de auth login) I have to encode the Username and the password with Base64, and than it runs. Maybe it helps you to help me ;-) Gunter
From: Kevin on 23 Nov 2009 12:21 Gunter, I do not know if this will help you or not but try setting a timeout on the CSmtp object. Sometimes antivirus programs can cause the CSmtp to timeout when sending. Changing the timing usually works. What put me on to this was a mail not sending the first time but sending the second, without changing the program. Hope this helps. Kevin "Gunter" <g.huebner(a)dsh-anklam.de> wrote in message news:b93e8bfe-d348-4276-800d-c2e5aac5ea5c(a)m35g2000vbi.googlegroups.com: > On Nov 23, 8:07�am, "Geoff Schaller" > <geo...(a)softxwareobjectives.com.au> wrote: > > Gunter. > > > > You will have to set debug on all the internet libs and review the > > messages to and from the server in debug view (dbgview.exe). All > > messages to and from the server are displayed so that you can see which > > one fails. I presume this is NOT using SSL but just smtp logon? > > > > Double-check the account from Outlook or OE or something. But it may be > > the response messages can tell you something more. > > > > Geoff > > > > "Gunter" <g.hueb...(a)dsh-anklam.de> wrote in message > > > > news:8b7f90b7-4e78-4cdf-b4c3-ff072d187965(a)g1g2000vbr.googlegroups.com: > > > > > > > > > Hallo all, > > > I use the current Lib from Geoff (downloaded on 19. Nov.) .and. VO 2.8 > > > SP2 (2830) > > > eMail download runs OK but send of eMails does not run: > > > > > This are real values, everyone can try with them: > > > cPopServer := "pop.1und1.de" > > > (1&1 eMail server needs authentication!!!) > > > cMyUserName := "Test_112...(a)dsh-anklam.de" > > > cMyPassword := "PW_Test_112009" > > > > > oEmail := CEmail{} > > > oEmail:Subject := "Test eMail" > > > oEmail:cText � �:= "Test Text..." > > > oEmail:cDestList := "gh...(a)web.de" > > > > > oEmail:FromAddress := cMyUserName > > > oEmail:FromName := cMyUserName > > > oEmail:ReplyTo := cMyUserName > > > oEmail:Cargo := "X-Mailer: TDOC SMTP Mailer" > > > oEmail:EncodeEmail() > > > > > oSmtp:=CSmtp{ oEmail, "smtp.1und1.de"} > > > oSmtp:SecureSMTP := TRUE > > > IF oSmtp:SecureSMTP > > > � oSmtp:UserName := cMyUserName > > > � oSmtp:PassWord := cMyPassword > > > ENDIF > > > ?"SendMail:", oSmtp:SendMail() // --> .F. > > > > > ?"ReplyCode:" +NTrim(oSmtp:ReplyCode) // --> 500 > > > ?"ErrorNo: �" +NTrim(oSmtp:Error) // --> 212 > > > ?"ErrorMsg: " +oSmtp:ErrorMsg // 535 Authentication failure > > > > > What is wrong? > > > I become desperate! > > > > > Gunter H�bner- Hide quoted text - > > > > - Show quoted text - > > Hello Geoff > thank you for replying so quickly. > I'm not a big VO programmer. My arts suffice just for our company. > On the other hand 1&1 is a big provider hier in germany. > So I thought, it's a common problem. And therfore I wrote my real > access parameters in my cry for help. > > If I try it with TELNET > (telnet smtp.1und1.de 25 > ehlo Test_112009(a)dsh-anklam.de > auth login) > I have to encode the Username and the password with Base64, and than > it runs. > Maybe it helps you to help me ;-) > > Gunter
From: Jon J on 23 Nov 2009 17:31
Gunter Looking at the settings for your SMTP server E-Mail-Postf�cher/-Weiterleitungen: POP3-Server (Eingang): pop.1und1.de (unverschl�sselt und �ber TLS: Port 110, SSL: Port 995) POP3 server (inbound): unencrypted pop.1und1.de (and TLS Port 110, SSL: port 995) IMAP-Server (Eingang): imap.1und1.de (unverschl�sselt und �ber TLS: Port 143, SSL: Port 993) IMAP server (inbound): unencrypted imap.1und1.de (and TLS port 143, SSL: port 993) SMTP-Server (Ausgang): smtp.1und1.de (unverschl�sselt und �ber TLS: Port 25) SMTP server (outbound): unencrypted smtp.1und1.de (and TLS: port 25) It requires TLS, which is not supported in VO We ended up buying the Chilkat ActiveX control - cost US$99 (a snip for what id does) which supports STARTTLS & SSL/TLS connections http://www.chilkatsoft.com/Email-ActiveX.asp -- Jon Justin "Gunter" <g.huebner(a)dsh-anklam.de> wrote in message news:8b7f90b7-4e78-4cdf-b4c3-ff072d187965(a)g1g2000vbr.googlegroups.com... > Hallo all, > I use the current Lib from Geoff (downloaded on 19. Nov.) .and. VO 2.8 > SP2 (2830) > eMail download runs OK but send of eMails does not run: > > This are real values, everyone can try with them: > cPopServer := "pop.1und1.de" > (1&1 eMail server needs authentication!!!) > cMyUserName := "Test_112009(a)dsh-anklam.de" > cMyPassword := "PW_Test_112009" > > oEmail := CEmail{} > oEmail:Subject := "Test eMail" > oEmail:cText := "Test Text..." > oEmail:cDestList := "gh...(a)web.de" > > oEmail:FromAddress := cMyUserName > oEmail:FromName := cMyUserName > oEmail:ReplyTo := cMyUserName > oEmail:Cargo := "X-Mailer: TDOC SMTP Mailer" > oEmail:EncodeEmail() > > oSmtp:=CSmtp{ oEmail, "smtp.1und1.de"} > oSmtp:SecureSMTP := TRUE > IF oSmtp:SecureSMTP > oSmtp:UserName := cMyUserName > oSmtp:PassWord := cMyPassword > ENDIF > ?"SendMail:", oSmtp:SendMail() // --> .F. > > ?"ReplyCode:" +NTrim(oSmtp:ReplyCode) // --> 500 > ?"ErrorNo: " +NTrim(oSmtp:Error) // --> 212 > ?"ErrorMsg: " +oSmtp:ErrorMsg // 535 Authentication failure > > What is wrong? > I become desperate! > > Gunter H�bner |