Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Sometimes, too long is too long. -- Joe Crowe


devel / comp.lang.clipper.visual-objects / Re: SwithMail

SubjectAuthor
* SwithMailΓεωργιος Τριτσος
+* SwithMailFerenc Ferenc
|`- SwithMailΓεωργιος Τριτσος
`* SwithMailJames Martin
 `* SwithMailΓεωργιος Τριτσος
  `- SwithMailFerenc Ferenc

1
SwithMail

<9aaa063e-e217-457d-ac6b-49c5c9184320n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9999&group=comp.lang.clipper.visual-objects#9999

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:5748:0:b0:3f8:6bf6:7402 with SMTP id 8-20020ac85748000000b003f86bf67402mr982384qtx.11.1686169350956;
Wed, 07 Jun 2023 13:22:30 -0700 (PDT)
X-Received: by 2002:a05:6902:1206:b0:bb1:f26d:b18d with SMTP id
s6-20020a056902120600b00bb1f26db18dmr3751433ybu.13.1686169350786; Wed, 07 Jun
2023 13:22:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 7 Jun 2023 13:22:30 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=176.58.215.20; posting-account=5okrTQkAAAB5ZOzJXhO3waq30auy0oBQ
NNTP-Posting-Host: 176.58.215.20
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9aaa063e-e217-457d-ac6b-49c5c9184320n@googlegroups.com>
Subject: SwithMail
From: georgetr...@gmail.com (Γεωργιος Τριτσος)
Injection-Date: Wed, 07 Jun 2023 20:22:30 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1155
 by: Γεωργιος Τ - Wed, 7 Jun 2023 20:22 UTC

Hi all,

Does anyone have expirience with SwithMail . I would really appreciate if someone have a sample.

Thanks all
George

Re: SwithMail

<3c582367-4f8a-4a42-a004-0e18729e86dan@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10001&group=comp.lang.clipper.visual-objects#10001

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a37:74d:0:b0:75b:24db:cdfa with SMTP id 74-20020a37074d000000b0075b24dbcdfamr189386qkh.15.1686307216857;
Fri, 09 Jun 2023 03:40:16 -0700 (PDT)
X-Received: by 2002:a25:5583:0:b0:bb1:35e6:6c4 with SMTP id
j125-20020a255583000000b00bb135e606c4mr256560ybb.9.1686307216488; Fri, 09 Jun
2023 03:40:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 9 Jun 2023 03:40:16 -0700 (PDT)
In-Reply-To: <9aaa063e-e217-457d-ac6b-49c5c9184320n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.110.138.55; posting-account=IISCjQoAAADvx-CgssN4W6a0Iz1fGC1c
NNTP-Posting-Host: 77.110.138.55
References: <9aaa063e-e217-457d-ac6b-49c5c9184320n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3c582367-4f8a-4a42-a004-0e18729e86dan@googlegroups.com>
Subject: Re: SwithMail
From: tuzx...@gmail.com (Ferenc Ferenc)
Injection-Date: Fri, 09 Jun 2023 10:40:16 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4135
 by: Ferenc Ferenc - Fri, 9 Jun 2023 10:40 UTC

Hi George,

I use SwithMail with satisfaction.
The website https://www.tbare.com/software/swithmail/ has detailed instructions on how to use it.
My copy of the program:

If File(cXml)
cParam:=' /s /x "SwithMailSettings_'+MyTrim(oSrv:FIELDGET(#Id),"0")+'.xml"'
lOk :=RunPrg(self,cExe,cParam,Filepath2(cExe),nSw) == 0 //

if !lOk //Ha nem sikerül az email küldés
// WB(, cError2)
Fajlbair(oSrv:FIELDGET(#Mail_Settings_XML),"EmailLog.txt")
ShellExecute(null,String2Psz("open"),String2Psz("EmailLog.txt"),null,null,SW_SHOWNORMAL)

else
//WB("Ok!")
oSrv:FIELDPUT(#Sent_To,true)
oSrv:FIELDPUT(#Send_Date,GetTimeStamp())
oSrv:Commit()
nElkuldve+=1

endif
endif

function RunPrg(oWin as object,cEXEfile as string,cParameters:="" as string, cWorkDir as string, nShow:=SW_NORMAL as word) as dword //EXE Run

local SEInfo as _WinShellExecuteInfo
local hProc as ptr
local lpExitCode := 999 as dword
local lRunning as logic
local lSuccess as logic

if oWin <> null_object
oWin:Pointer := Pointer{ POINTERHOURGLASS }
endif

SEInfo := MemAlloc(_sizeof(_winSHELLEXECUTEINFO))
SEInfo.cbSize := _sizeof(_winSHELLEXECUTEINFO)
SEInfo.fMask := SEE_MASK_NOCLOSEPROCESS + SEE_MASK_FLAG_NO_UI
SEInfo.lpVerb := psz(_cast, "open")
SEInfo.lpFile := psz(_cast, cExeFile )
SEInfo.lpParameters := psz(_cast, cParameters )
SEInfo.lpDirectory := String2Psz(cWorkDir)
SEInfo.nShow := nShow//SW_NORMAL, SW_HIDE
SEInfo.hInstApp := null_ptr
SEInfo.lpClass := null_psz

if ShellExecuteEx(SEInfo) // File executed correctly
hProc := SEInfo.hProcess

GetExitCodeProcess( hProc, @lpExitCode )
lRunning := ( lpExitCode = STILL_ACTIVE )

do while lRunning // Wait until finishes
GetExitCodeProcess( hProc, @lpExitCode )
lRunning := ( lpExitCode = STILL_ACTIVE )
YML()
enddo
lSuccess := true

CloseHandle(SEInfo.hProcess)

MemFree(SEInfo) // File was executed and the execution finished
else
// An error occured (use GetLastError() to see what happened)
MemFree(SEInfo)
endif
if oWin <> null_object
oWin:Pointer := Pointer{ POINTERARROW }
endif

return lpExitCode

Kind Regards,
Szepligeti Ferenc

Γεωργιος Τριτσος ezt írta (2023. június 7., szerda, 22:22:31 UTC+2):
> Hi all,
>
> Does anyone have expirience with SwithMail . I would really appreciate if someone have a sample.
>
> Thanks all
> George

Re: SwithMail

<ac1ad77a-888a-4bca-95df-89f7dfee369fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10003&group=comp.lang.clipper.visual-objects#10003

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:180b:b0:3f6:aee9:d91 with SMTP id t11-20020a05622a180b00b003f6aee90d91mr875816qtc.1.1686337512723;
Fri, 09 Jun 2023 12:05:12 -0700 (PDT)
X-Received: by 2002:a81:c14b:0:b0:561:b7fc:7445 with SMTP id
e11-20020a81c14b000000b00561b7fc7445mr1332144ywl.1.1686337512410; Fri, 09 Jun
2023 12:05:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 9 Jun 2023 12:05:12 -0700 (PDT)
In-Reply-To: <3c582367-4f8a-4a42-a004-0e18729e86dan@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=79.107.0.13; posting-account=5okrTQkAAAB5ZOzJXhO3waq30auy0oBQ
NNTP-Posting-Host: 79.107.0.13
References: <9aaa063e-e217-457d-ac6b-49c5c9184320n@googlegroups.com> <3c582367-4f8a-4a42-a004-0e18729e86dan@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ac1ad77a-888a-4bca-95df-89f7dfee369fn@googlegroups.com>
Subject: Re: SwithMail
From: georgetr...@gmail.com (Γεωργιος Τριτσος)
Injection-Date: Fri, 09 Jun 2023 19:05:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4569
 by: Γεωργιος Τ - Fri, 9 Jun 2023 19:05 UTC

Στις Παρασκευή 9 Ιουνίου 2023 στις 1:40:17 μ.μ. UTC+3, ο χρήστης Ferenc Ferenc έγραψε:
> Hi George,
>
> I use SwithMail with satisfaction.
> The website https://www.tbare.com/software/swithmail/ has detailed instructions on how to use it.
> My copy of the program:
>
> If File(cXml)
> cParam:=' /s /x "SwithMailSettings_'+MyTrim(oSrv:FIELDGET(#Id),"0")+'.xml"'
> lOk :=RunPrg(self,cExe,cParam,Filepath2(cExe),nSw) == 0 //
>
> if !lOk //Ha nem sikerül az email küldés
> // WB(, cError2)
> Fajlbair(oSrv:FIELDGET(#Mail_Settings_XML),"EmailLog.txt")
> ShellExecute(null,String2Psz("open"),String2Psz("EmailLog.txt"),null,null,SW_SHOWNORMAL)
>
> else
> //WB("Ok!")
> oSrv:FIELDPUT(#Sent_To,true)
> oSrv:FIELDPUT(#Send_Date,GetTimeStamp())
> oSrv:Commit()
> nElkuldve+=1
>
> endif
> endif
>
> function RunPrg(oWin as object,cEXEfile as string,cParameters:="" as string, cWorkDir as string, nShow:=SW_NORMAL as word) as dword //EXE Run
>
> local SEInfo as _WinShellExecuteInfo
> local hProc as ptr
> local lpExitCode := 999 as dword
> local lRunning as logic
> local lSuccess as logic
>
> if oWin <> null_object
> oWin:Pointer := Pointer{ POINTERHOURGLASS }
> endif
>
> SEInfo := MemAlloc(_sizeof(_winSHELLEXECUTEINFO))
> SEInfo.cbSize := _sizeof(_winSHELLEXECUTEINFO)
> SEInfo.fMask := SEE_MASK_NOCLOSEPROCESS + SEE_MASK_FLAG_NO_UI
> SEInfo.lpVerb := psz(_cast, "open")
> SEInfo.lpFile := psz(_cast, cExeFile )
> SEInfo.lpParameters := psz(_cast, cParameters )
> SEInfo.lpDirectory := String2Psz(cWorkDir)
> SEInfo.nShow := nShow//SW_NORMAL, SW_HIDE
> SEInfo.hInstApp := null_ptr
> SEInfo.lpClass := null_psz
>
> if ShellExecuteEx(SEInfo) // File executed correctly
> hProc := SEInfo.hProcess
>
> GetExitCodeProcess( hProc, @lpExitCode )
> lRunning := ( lpExitCode = STILL_ACTIVE )
>
> do while lRunning // Wait until finishes
> GetExitCodeProcess( hProc, @lpExitCode )
> lRunning := ( lpExitCode = STILL_ACTIVE )
> YML()
> enddo
> lSuccess := true
>
> CloseHandle(SEInfo.hProcess)
>
> MemFree(SEInfo) // File was executed and the execution finished
> else
> // An error occured (use GetLastError() to see what happened)
> MemFree(SEInfo)
> endif
> if oWin <> null_object
> oWin:Pointer := Pointer{ POINTERARROW }
> endif
>
>
> return lpExitCode
>
>
> Kind Regards,
> Szepligeti Ferenc
> Γεωργιος Τριτσος ezt írta (2023. június 7., szerda, 22:22:31 UTC+2):
> > Hi all,
> >
> > Does anyone have expirience with SwithMail . I would really appreciate if someone have a sample.
> >
> > Thanks all
> > George
Hi Ferenc,

Thanks a lot for your sample. I will try it.

Regards
George

Re: SwithMail

<u674s3$347f9$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10004&group=comp.lang.clipper.visual-objects#10004

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jam...@northwoodlumber.com (James Martin)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: SwithMail
Date: Mon, 12 Jun 2023 08:59:47 -0400
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <u674s3$347f9$1@dont-email.me>
References: <9aaa063e-e217-457d-ac6b-49c5c9184320n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 12 Jun 2023 12:59:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dcfa6506cee25e589c160884e27ee3de";
logging-data="3284457"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YrzifBO17iNqrbVvkMh8Z"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:HmRQyHP6Oo45KUwi71/j77Epqe8=
In-Reply-To: <9aaa063e-e217-457d-ac6b-49c5c9184320n@googlegroups.com>
Content-Language: en-US
 by: James Martin - Mon, 12 Jun 2023 12:59 UTC

I used it when I needed it, and would again if needed. It worked well.
It will take some time to get a sample together, but try to asap.

James

On 6/7/23 16:22, Γεωργιος Τριτσος wrote:
> Hi all,
>
> Does anyone have expirience with SwithMail . I would really appreciate if someone have a sample.
>
> Thanks all
> George

Re: SwithMail

<72c581ee-89cc-490b-80ab-8fba1cb0b09fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10005&group=comp.lang.clipper.visual-objects#10005

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:1403:0:b0:3f8:6c1b:70b6 with SMTP id k3-20020ac81403000000b003f86c1b70b6mr454547qtj.4.1686768429573;
Wed, 14 Jun 2023 11:47:09 -0700 (PDT)
X-Received: by 2002:a81:b625:0:b0:56c:f903:8678 with SMTP id
u37-20020a81b625000000b0056cf9038678mr1047280ywh.2.1686768429374; Wed, 14 Jun
2023 11:47:09 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 14 Jun 2023 11:47:09 -0700 (PDT)
In-Reply-To: <u674s3$347f9$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=79.107.0.13; posting-account=5okrTQkAAAB5ZOzJXhO3waq30auy0oBQ
NNTP-Posting-Host: 79.107.0.13
References: <9aaa063e-e217-457d-ac6b-49c5c9184320n@googlegroups.com> <u674s3$347f9$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <72c581ee-89cc-490b-80ab-8fba1cb0b09fn@googlegroups.com>
Subject: Re: SwithMail
From: georgetr...@gmail.com (Γεωργιος Τριτσος)
Injection-Date: Wed, 14 Jun 2023 18:47:09 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2194
 by: Γεωργιος Τ - Wed, 14 Jun 2023 18:47 UTC

Στις Δευτέρα 12 Ιουνίου 2023 στις 3:59:50 μ.μ. UTC+3, ο χρήστης James Martin έγραψε:
> I used it when I needed it, and would again if needed. It worked well.
> It will take some time to get a sample together, but try to asap.
>
> James
> On 6/7/23 16:22, Γεωργιος Τριτσος wrote:
> > Hi all,
> >
> > Does anyone have expirience with SwithMail . I would really appreciate if someone have a sample.
> >
> > Thanks all
> > George
Hi,
I tried but i took error "5.7.0. authentication required" in server gmail and i took error "net_io_connectionclosed" for yahoo.
I am trying to find what's going wrong.
Any ideas would be helpfull.

Regards
George

Re: SwithMail

<51db978c-f70c-475c-867c-7006ec906a88n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10006&group=comp.lang.clipper.visual-objects#10006

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:620a:8196:b0:762:eb8:5d27 with SMTP id ot22-20020a05620a819600b007620eb85d27mr634640qkn.2.1686815788177;
Thu, 15 Jun 2023 00:56:28 -0700 (PDT)
X-Received: by 2002:a81:ac49:0:b0:561:c9c0:98d9 with SMTP id
z9-20020a81ac49000000b00561c9c098d9mr1883490ywj.4.1686815787908; Thu, 15 Jun
2023 00:56:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Thu, 15 Jun 2023 00:56:27 -0700 (PDT)
In-Reply-To: <72c581ee-89cc-490b-80ab-8fba1cb0b09fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.110.138.175; posting-account=IISCjQoAAADvx-CgssN4W6a0Iz1fGC1c
NNTP-Posting-Host: 77.110.138.175
References: <9aaa063e-e217-457d-ac6b-49c5c9184320n@googlegroups.com>
<u674s3$347f9$1@dont-email.me> <72c581ee-89cc-490b-80ab-8fba1cb0b09fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <51db978c-f70c-475c-867c-7006ec906a88n@googlegroups.com>
Subject: Re: SwithMail
From: tuzx...@gmail.com (Ferenc Ferenc)
Injection-Date: Thu, 15 Jun 2023 07:56:28 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2998
 by: Ferenc Ferenc - Thu, 15 Jun 2023 07:56 UTC

Hi,
Yes, there seems to have been a change in authentication since I tested it.
I tested again, it works again. The password should not be replaced by the gmail password, but by the generated application password after setting up two-step authentication.
You can find detailed instructions here:

https://support.google.com/mail/thread/146949535/the-server-response-was-5-7-0-authentication-required?hl=en

https://support.google.com/accounts/answer/185833?hl=en&sjid=14800053331033760336-EU

Regards
Ferenc

Γεωργιος Τριτσος ezt írta (2023. június 14., szerda, 20:47:10 UTC+2):
> Στις Δευτέρα 12 Ιουνίου 2023 στις 3:59:50 μ.μ. UTC+3, ο χρήστης James Martin έγραψε:
> > I used it when I needed it, and would again if needed. It worked well.
> > It will take some time to get a sample together, but try to asap.
> >
> > James
> > On 6/7/23 16:22, Γεωργιος Τριτσος wrote:
> > > Hi all,
> > >
> > > Does anyone have expirience with SwithMail . I would really appreciate if someone have a sample.
> > >
> > > Thanks all
> > > George
> Hi,
> I tried but i took error "5.7.0. authentication required" in server gmail and i took error "net_io_connectionclosed" for yahoo.
> I am trying to find what's going wrong.
> Any ideas would be helpfull.
>
> Regards
> George

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor