Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #12282
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: cEmail and cSMTP cannot send |
| Date | Sun, 17 Feb 2019 11:35:45 +0100 |
| Lines | 66 |
| Message-ID | <gcsro1F1fcdU1@mid.individual.net> (permalink) |
| References | <faa6f7ff-e506-4c31-8d48-0d81b8887c43@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| X-Trace | individual.net GrLsX9B95j2JtpA2P8OxOwfY62A5YuqNq5W6EVJD6gCextFz0= |
| Cancel-Lock | sha1:S+3o9GZaeqK1IBe1AVs1lHVZCEs= |
| User-Agent | XanaNews/1.18.1.6 |
| Xref | csiph.com comp.lang.clipper.visual-objects:12282 |
Show key headers only | View raw
Hi Jeff,
X# IS a solution.
I have written a COM library in X# that can be used from VO via COM,
even without registration, using SxS mechanisms:
https://www.riedmann.it/download/SendMailCOM.zip
More samples on X# are here:
https://www.riedmann.it/verschiedenes_xsharp.php
Wolfgang
P.S. most of my VO applications are using at least one COM module
written in X#
Jeff Rollo wrote:
> I'm sorry to be "flooding", but I guess VO is so old, online help is
> extremely hard to find, and even then 99% of the links are no longer
> available, so please believe me when I say, I search long and hard
> before annoying you guys...
>
> What am I doing wrong here please?
>
> METHOD PushButton1( ) CLASS NewWindow1
> local oEmail as CEmail
> LOCAL oSmtp as CSmtp
> Local lRet as Logic
> //SetExact(false)
> oEmail := CEmail{}
> oSmtp := CSmtp{}
> //oEmail:CreateHtml("Here")
> oEmail:ReplyTo := "info@lightningpc.com.au"
> oEmail:AddAttachment("C:\cavo28\bin\JobNumber.rpt")
> //oEmail:DestList := "jeff@lightningpc.com.au"
> oEmail:FromAddress := "jeff@lightningpc.com.au"
> oEmail:MailBody := "Geachte, Als bijlage vindt U de
> kadasterlijsten van het1e kwartaal, Hoogachtend" oEmail:CCList :=""
> oEmail:Subject :="Test Email"
> oSmtp := CSmtp{oEmail}
> oSmtp:remotehost := "mail.mywork.com.au"
> // oSmtp:SecureSMTP := .t.
>
> // oSmtp:TimeOut := 5000
> ??oSmtp:connect("mail.mywork.com.au", 587) <- gives me the
> correct IP for the email server oSmtp:UserName := "" <- removed
> for obvious reasons... oSmtp:PassWord := "" <- removed for
> obvious reasons...
> ?? oSmtp:Logon() <- returns TRUE, so Port, Username and password
> I'm assuming can't be the problem...
>
> // oSmtp:Email := oEmail
> lRet := oSmtp:SendMail()
> ?? lRet
> //SetExact(true)
> RETURN lRet
--
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
cEmail and cSMTP cannot send Jeff Rollo <jrollo64@gmail.com> - 2019-02-15 20:15 -0800
Re: cEmail and cSMTP cannot send Sherlock <sherlock@sherlock.com.au> - 2019-02-16 04:52 -0800
Re: cEmail and cSMTP cannot send Jeff Rollo <jrollo64@gmail.com> - 2019-02-16 04:56 -0800
Re: cEmail and cSMTP cannot send Sherlock <sherlock@sherlock.com.au> - 2019-02-16 05:22 -0800
Re: cEmail and cSMTP cannot send Jeff Rollo <jrollo64@gmail.com> - 2019-02-16 05:29 -0800
Re: cEmail and cSMTP cannot send Sherlock <sherlock@sherlock.com.au> - 2019-02-16 05:36 -0800
Re: cEmail and cSMTP cannot send Jeff Rollo <jrollo64@gmail.com> - 2019-02-16 14:50 -0800
Re: cEmail and cSMTP cannot send Sherlock <sherlock@sherlock.com.au> - 2019-02-17 01:42 -0800
Re: cEmail and cSMTP cannot send Jeff Rollo <jrollo64@gmail.com> - 2019-02-17 02:06 -0800
Re: cEmail and cSMTP cannot send Jeff Rollo <jrollo64@gmail.com> - 2019-02-17 02:11 -0800
Re: cEmail and cSMTP cannot send Sherlock <sherlock@sherlock.com.au> - 2019-02-16 05:31 -0800
Re: cEmail and cSMTP cannot send Jeff Rollo <jrollo64@gmail.com> - 2019-02-16 05:34 -0800
Re: cEmail and cSMTP cannot send Sherlock <sherlock@sherlock.com.au> - 2019-02-16 05:38 -0800
Re: cEmail and cSMTP cannot send Sherlock <sherlock@sherlock.com.au> - 2019-02-16 10:09 -0800
Re: cEmail and cSMTP cannot send "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-02-17 11:35 +0100
Re: cEmail and cSMTP cannot send Jeff Rollo <jrollo64@gmail.com> - 2019-02-17 02:43 -0800
Re: cEmail and cSMTP cannot send "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-02-18 06:37 +0100
Re: cEmail and cSMTP cannot send Franz Rachbauer <office@rachbauer.org> - 2019-02-17 12:29 +0100
Re: cEmail and cSMTP cannot send Jeff Rollo <jrollo64@gmail.com> - 2019-02-17 03:31 -0800
Re: cEmail and cSMTP cannot send D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2019-02-18 23:58 +0100
Re: cEmail and cSMTP cannot send Jeff Rollo <jrollo64@gmail.com> - 2019-02-19 02:29 -0800
Re: cEmail and cSMTP cannot send Jeff Rollo <jrollo64@gmail.com> - 2019-02-19 02:31 -0800
Re: cEmail and cSMTP cannot send D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2019-02-19 23:49 +0100
csiph-web