Composing email using a personal code

I want to use email in my app and have a recruitment code inserted into the email so users can send out to there friends something like this…

CODE=qs6h4393bfd4g8dte

local function email_post()

local options_email =

            {

            to = “”,

            subject = “recruitment code”,

            body =  “Use my code”…CODE,

}

            native.showPopup(“mail”, options_email)

end

Will something like this work?  Thank you.

Looks good to me.

Thank you sir,  would you by any chance know if this is valid for twitter pop-up also?  

CODE=qs6h4393bfd4g8dte

local function twitter_post()

local options_twitter = 

{

  message = “Use my code”…CODE

}

native.showPopup( “twitter”, options_twitter )

end

Looks good to me.

Thank you sir,  would you by any chance know if this is valid for twitter pop-up also?  

CODE=qs6h4393bfd4g8dte

local function twitter_post()

local options_twitter = 

{

  message = “Use my code”…CODE

}

native.showPopup( “twitter”, options_twitter )

end