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


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

Re: Sending email with default prog

From "Willie Moore" <williem@wmconsulting.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Sending email with default prog
Date 2011-01-28 17:45 -0600
Organization Aioe.org NNTP Server
Message-ID <ihvkdt$9mb$1@speranza.aioe.org> (permalink)
References (1 earlier) <652de863-b9c0-4306-a88f-6198e69b63af@l18g2000yqm.googlegroups.com> <3a9aff70-fbf6-475c-8bfd-72abdde7b255@m13g2000yqb.googlegroups.com> <dafb2235-0d5e-4a4b-9883-f0da734c93f7@o7g2000prn.googlegroups.com> <ihukv7$1ho$1@speranza.aioe.org> <37678834-c1b7-4c87-872a-f022b2f90abc@n2g2000pre.googlegroups.com>

Show all headers | View raw


Gregory,

If you look at the SDK, you will notice that the logon method is called when 
the connection is set up. If you call it early, it will not work. In VO 2.7, 
it was handled differently, 2.8 is a rewrite of the class based on the 2.6 
version. Sven did the modification. If you take a look at the function, the 
last parameter is the port to use. if you pass in 0, the default port is 
used. You can check the return from sendmail and if it is false, change the 
port and call it again till you get the correct one out of the 3 that you 
need. Secured server just means that you have to log into the smtp server to 
be able to send an email. If you don’t have to log on, pass a false.

There is another set of internet class out there that Geoff did that works a 
bit differently but also works in 2.7 and 2.8.

Regards,
Willie

"Heli-Team.pl Portal"  wrote in message 
news:37678834-c1b7-4c87-872a-f022b2f90abc@n2g2000pre.googlegroups.com...

On 28 Sty, 15:48, "Willie Moore" <will...@wmconsulting.com> wrote:
> Gregory,
>
> The attached code is a slightly modified version of Stephan's code. I have
> tested this against VO 2.8 sp3.
>
> Regards,
> Willie
>

Hello Willie,
Thanks for code - it works BUT it is quite interesting that even You
have removed :logon  it still works? Why it works without :logon?

Moreover: even if in mail program (Thunderbird) I use three different
ports for three different accounts (25, 465 and 587) in Your code
works only (theoretically inhibited) port 25 but still I have to set
secured server.

Can You shortly explain this?

Gregory 

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


Thread

Re: Sending email with default prog "Heli-Team.pl Portal" <admin1@heli-team.pl> - 2011-01-28 14:23 -0800
  Re: Sending email with default prog "Willie Moore" <williem@wmconsulting.com> - 2011-01-28 17:45 -0600

csiph-web