Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #9247

Re: How can I know why cSmtp:SendMail() fails?

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: How can I know why cSmtp:SendMail() fails?
Date 2016-04-12 08:38 +0200
Message-ID <dn3jffFs61kU1@mid.individual.net> (permalink)
References <24d05728-e1a9-4fc2-9e79-4df7dae31b7b@googlegroups.com>

Show all headers | View raw


Hi Pedro,

there are several possibilities:

- your customers server is requiring authentication and yours not
- your customers server is requiring another type of authentication
than yours
- your customers server is requiring another port (you could try port
587)
- your customers server is requiring ssl use

The first and the 3rd problem should be solvable with VO, the others
not so easy.

Wolfgang


> Hi, I'm using the email sample aef that comes with CAVO 2.8 SP 4 and
> want to know the reason of the SendMail() method failing.  I tried
> with my email server and it works fine, but with my customer's server
> fails.  I changed the code to:
> 
> IF oSmtp:SendMail()
>    oEmailServer:FIELDPUT(#BOXID,
> EmailServer:ApplySentboxRules(oEmail)) ELSE
>    IF oSmtp:CheckReply()
>       xReplyString	:=	oSmtp:ReplyString // NULL STRING
>       xReplyCode	:=	oSmtp:ReplyCode   // 0
>       xError		:=	oSmtp:Error       // 0
>    ENDIF
>    lOK := FALSE
> ENDIF
> 
> But it returns no information of what's wrong
> 
> Any help will be appreciated.



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How can I know why cSmtp:SendMail() fails? "Pedro M. Espinosa" <pmespinosa@gmail.com> - 2016-04-11 21:19 -0700
  Re: How can I know why cSmtp:SendMail() fails? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-04-12 08:38 +0200
    Re: How can I know why cSmtp:SendMail() fails? "Gerhard Bunzel" <g.bunzel@domonet.de> - 2016-04-12 11:30 +0200
      Re: How can I know why cSmtp:SendMail() fails? "Pedro M. Espinosa" <pmespinosa@gmail.com> - 2016-04-12 11:19 -0700
        Re: How can I know why cSmtp:SendMail() fails? "Pedro M. Espinosa" <pmespinosa@gmail.com> - 2016-04-12 15:11 -0700
    Re: How can I know why cSmtp:SendMail() fails? "Pedro M. Espinosa" <pmespinosa@gmail.com> - 2016-04-12 11:11 -0700
      Re: How can I know why cSmtp:SendMail() fails? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-04-13 06:49 +0200
        Re: How can I know why cSmtp:SendMail() fails? sherlocksoftware@gmail.com - 2016-04-13 13:21 -0700
          Re: How can I know why cSmtp:SendMail() fails? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-04-14 05:51 +0200

csiph-web