In php you will do

$msg = "Hello, \n I am Working";

$msg = urlencode($msg);


?>
Then use $msg in the sendsms string.

Regards,


-----Original Message-----
From: Logic 1902 [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 04, 2008 2:09 AM
To: Alejandro Guerrieri; [email protected]
Subject: RE: Response from Kannel


can you please elaborate a little with an example. I am having much
difficulty.
thanks
________________________________
> Date: Thu, 3 Apr 2008 16:54:15 -0300
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: Response from Kannel
> 
> urlencode the text, it will do the trick.
> 
> On Thu, Apr 3, 2008 at 2:09 PM, Logic 1902 <[EMAIL PROTECTED]> wrote:
> Dear all, please tell me how can I add a new line in strings of responses
sent by kannel.
> 
> forexamle, I want this message;
> 
> Hello, I am working
> 
> to look like this,
> 
> Hello,
> I am working
> 
> I am using Java and as far as java language is concerned; new line
character is '\n' - but it does not work while i try with responses in
Kannel.
> 
> Please suggest.
> 
> regards,
> 
> 
> ________________________________
> Connect to the next generation of MSN Messenger  Get it now! 
> 
> ________________________________
> Invite your mail contacts to join your friends list with Windows Live
Spaces. It's easy! Try it!

_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live
Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&;
mkt=en-us



Reply via email to