Generic Email Widget

4354
15
Jump to solution
07-16-2015 10:43 AM
TerryGustafson
Occasional Contributor II

Hello,

I was wondering gif anyone has some generic starter code for generating an email.

Thanks,

Terry

0 Kudos
15 Replies
TerryGustafson
Occasional Contributor II

It's pretty simple but all I needed to be able to send an email request..

'dojo/_base/declare',

'jimu/BaseWidget'


(declare, BaseWidget) {

var clazz = declare([BaseWidget], {

'<h3><p> Please click on Submit to send your suggestion to the Planning Department: <a href="mailto:@mt.gov?Subject=Interactive%20Tool%20Suggestion"" target="_top">Submit</a></p></h3>'


false;

false;

false;

false;

return clazz;

RebeccaStrauch__GISP
MVP Esteemed Contributor

For posting code, check out   Posting Code blocks in the new GeoNet

And to see all the bells and whistled of GeoNet, checkout  GeoNet Help​     We all had to learn learn GeoNEt, but there are things on that page that can help.  Also, I wrote a doc a while back that might help     Tips for Getting Started on GeoNet (general and Alaska User Group specific) Although it might be a bit outdated.

BPriyaK
New Contributor III

Hello Terry,

I'm trying to build a widget that exactly has the same functionality 

would you be able to post the code for this widget ?

0 Kudos
TerryGustafson
Occasional Contributor II

Did you get this email?

0 Kudos
BPriyaK
New Contributor III

I was looking at the question you posted couple years ago and tried the code you posted in the answers ,but could'nt get it to work

i was hoping to get some insights into implementing this ,

0 Kudos
TerryGustafson
Occasional Contributor II

Shoot me an email at gustat@bresnan.net

0 Kudos