Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 67

Golfba11
Apple Fan
Profile
Posts: 95
Reg: Feb 21, 2013
Belllingham
950
03/23/14 11:37 PM (10 years ago)

Email plugin customization

how do I pre-fill the TO email address as well as the main text body? The Share via Email allows the text of the email to be prefillled The Send Email allows subject line prefil and TO pre fill. Is there a way to combine the two? so I can pre fill the TO address and the main text of email?
 
Golfba11
Apple Fan
Profile
Posts: 95
Reg: Feb 21, 2013
Belllingham
950
like
03/24/14 12:42 AM (10 years ago)
Okay, I downloaded the JSON snippet plugin and put in the following: {"navBarTitleText":"Regular Milk Chocolate"} {"itemId": "8807CA490E504B6E47C8E72","itemType": "BT_sendEmail","itemNickname": "Email Me","emailToAddress": "[email protected]","emailSubject": "App Request", "emailMessage":"Dear client....... etc......etc"} The app won't launch though because it says the JSON data is invalid?????
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
03/24/14 03:52 AM (10 years ago)
There might be something in your message that is breaking the JSON validity. Check for ' or " or other special characters. Start off with a simple "hi" and go from there.
 
Golfba11
Apple Fan
Profile
Posts: 95
Reg: Feb 21, 2013
Belllingham
950
like
03/24/14 08:47 AM (10 years ago)
I did that... same thing=(
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
03/24/14 10:05 AM (10 years ago)
oh, looking at your above example, you should only have one set of {} in your snippet. change it to: {"navBarTitleText":"Regular Milk Chocolate","itemId": "8807CA490E504B6E47C8E72","itemType": "BT_sendEmail","itemNickname": "Email Me","emailToAddress": "[email protected]","emailSubject": "App Request", "emailMessage":"Dear client....... etc......etc"}
 
Golfba11
Apple Fan
Profile
Posts: 95
Reg: Feb 21, 2013
Belllingham
950
like
03/24/14 07:33 PM (10 years ago)
I did that... same thing=(
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.