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


Groups > comp.lang.clipper.visual-objects > #5908 > unrolled thread

Re: Sending email with default prog

Started by"Heli-Team.pl Portal" <admin1@heli-team.pl>
First post2011-01-28 14:23 -0800
Last post2011-01-28 17:45 -0600
Articles 2 — 2 participants

Back to article view | Back to comp.lang.clipper.visual-objects

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#5908 — Re: Sending email with default prog

From"Heli-Team.pl Portal" <admin1@heli-team.pl>
Date2011-01-28 14:23 -0800
SubjectRe: Sending email with default prog
Message-ID<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

[toc] | [next] | [standalone]


#6012

From"Willie Moore" <williem@wmconsulting.com>
Date2011-01-28 17:45 -0600
Message-ID<ihvkdt$9mb$1@speranza.aioe.org>
In reply to#5908
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 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web