NetTalk Central

Author Topic: ClickATell and NT email  (Read 5546 times)

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
ClickATell and NT email
« 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?
"
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: ClickATell and NT email
« Reply #1 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.

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: ClickATell and NT email
« Reply #2 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!
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: ClickATell and NT email
« Reply #3 on: April 18, 2013, 09:56:39 PM »
I resolved it by correctly using carriage return and line feed between the fields.
Thx!
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer