Nettalk - SendEmail

I need help, this is my first foray into Nettalk and immediately I’ve hit a hurdle.

I’ve installed the templates and activated them in my app. So far so good.

I’ve followed/referred to the instructions here: NetTalk Email

Well, I tried to but something is NQR.

I’m using Legacy templates and looked at the Capesoft legacy email demo app and noticed immediately a bunch of orphaned embeds. I figured out that in the demo app didn’t include the Nettalk email send extension which I added but I’m still stumped as to how to send email.

I’ve filled the EmailParametersGroup and passed it to the SendEmail procedure but I get nothing. The demo app, to me, appears incomplete.

Can anyone help me out with a very basic bit of source that permits me to send a message or a working sendemail procedure (in txa)? I would very much appreciate it.

I’ve little to no experience with ABC/OO so please treat me like a child in this instance. Once I get the gist, I’m sure I’ll figure out the process/method and can expand on it.

Thanks heaps
Andrew.

If you’re new to NetTalk, I hope that means you’ve just purchased it and have the newest version.

The documentation to which you link is for version 9. That’s from 2017! Email tech is one of the more annoying and faster-changing systems. You’ll see a lot of posts like “my app was working and then [vendor x] changed things and now email doesn’t work.”

Perhaps start with the current email documentation: NetTalk Documentation Index

Hi Jane, thanks for the response.

Yes, it has been purchased and Yes, it is V14.

While the transmission technology may change over time, I’m sure the basics of Nettalk and Clarion change very little, but I see your point.

Regardless of the instructions, I am still in the same boat, I have a legacy demo app that does not work and does not give me any clue as to how it should.

I’ll review the Jump Start section for SMTP(Sending) to see if that gives me any joy.

Cheers,
Andrew.

Edit: The instructions in the link are not dissimilar to the link I included, both indicate the SendEmail procedure (which can be imported into your app from the example app) can be used as the basis for sending email. I disagree. My experience has been less than successful as already described.

If anyone has a working SendEmail procedure I can pilfer, I really would appreciate it.

For anyone interested, this is the txa of the SendEmail procedure from the demo app, (with the extension added).
SendEmail.txa (84.1 KB)

Did you save it and are the embeds still orphaned? Those embeds are likely needed for things to work. You might try deleting the example and installing it again.
Also some systems now require lots of security settings that are not active by default so check those

Yep, saved it and the embeds are no longer orphaned, but I still cannot get an email sent.

The whole nettalk template installation was not a good experience. The examples were not included in the template install - Bruce from capesoft had to send them separately and even then the web doco didn’t relate to what I had. I have a whole email thread of back and forth with Bruce. I did send an email to Bruce over a week ago and so far, nothing.

I’ll ask again, does anyone have a working ‘SendEmail’ procedure from the nettalk examples that I can use? If not, does anyone have the method calls (in order) used to send email when passed an EmailParametersGroup so I can at least send a message and get an idea of the process and maybe get the example working.

Has anyone taken a look at the txa above to figure out why it doesn’t work?

I am at wits end atm.

Andrew.

What email server are you trying to send the mail through?

smtp2go, but I’m getting nothing on the progress window, no errors returned, nada.

I’ve downloaded the latest nettalk desktop and jfiles and have now submitted another issue @ capesoft:

FYI, I get the same errors with the nettalk email legacy demo.

What is STR? Is it a String Theory object?

If so, perhaps you need a more recent version of String Theory?

Will give that a try. Thanks.

I’ve just loaded up the netdemo program from the nettalk examples. Which is in NetTalk\Demo.
It compiled ok. Went into the email demo. Filled in all appropriate fields. I just successfully sent an email.

Nettalk 14.27 jfiles 3.08 Reflection 1.3 stringtheory 3.70

Many thanks everyone, I apologize for being curt and antsy. Lots to do and not enough time to do it.

I updated all the templates - the ones I had from 12 months ago, and the examples, appeared to be a little broken - and after a little mucking about, I did in fact manage to send email.

I now have an understanding and some source I can use to fit into our application.

Thanks for your tolerance.

Andrew