NetTalk Central

NetTalk E-Mail => E-Mail - Ask For Help => Topic started by: Johan van Zyl on April 18, 2013, 01:11:44 PM

Title: ClickATell and NT email
Post by: Johan van Zyl on April 18, 2013, 01:11:44 PM
I also sent this to ClickATell

"I have been a programmer (I use Clarion www.softvelocity.com) since 1979.

I'm writing a webbased app that could be used by many people all over the world.
I use one of Clarion 3rd Party tools published by CapeSoft called NetTalk (http://www.capesoft.com/accessories/netsp.htm) to send emails:

If I type :
api_id:xxxxxx
user:xxxxxx
password:xxxxxx
to:xxxxxxxxxxxx
text:test

into a field MyText as above and then send the email it works 100%. But then I must show my api_id, password and user in the email itself for all to see.
As this app will be used by any number of people I do not want that info to be seen by them.

So if I put my message  into a local variable called loc:message and then execute this code:

MyText = 'user:'&clip(loc:catuser)&' '&'password:'&clip(loc:catpassword)&' '&'api_id:'&clip(loc:catapi_id)&' '&'text:'&clip(loc:message)&' '&'to:'&clip(loc:catmobileno)&' '&'reply:johan@jvz.co.za'
then it does not work.
It creates underlined fields - maybe that is probably why it then does not send the emails. Will that cause the problems?
And can I type the statement all in one line anyway?
"
Title: Re: ClickATell and NT email
Post by: kevin plummer on April 18, 2013, 07:53:02 PM
Have you looked at the send email from web app example? It may give you some idea's on how to avoid your problem.
Title: Re: ClickATell and NT email
Post by: Johan van Zyl on April 18, 2013, 08:48:26 PM
At this point in time I'm not doing it from a WebApp - just a normal windows app - sorry I did post the wrong info above!
Title: Re: ClickATell and NT email
Post by: Johan van Zyl on April 18, 2013, 09:56:39 PM
I resolved it by correctly using carriage return and line feed between the fields.
Thx!