Difference between revisions of "Email Anything"

From SmartWiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
* The syntax (@objemail@) can be used to generate a unique email address for objects in SmartSimple.
 
* The syntax (@objemail@) can be used to generate a unique email address for objects in SmartSimple.
 
* This will attach the email as a subrecord to the record from which is has been triggered.
 
* This will attach the email as a subrecord to the record from which is has been triggered.
 +
* The status of the email record is controlled by the '''Received Activity Status '''setting. If there is a [[Workflow]] defined on that status it will be triggered when the record is added.
  
  
Line 11: Line 12:
 
* '''Support Tickets''' - A client can email a ticket directly
 
* '''Support Tickets''' - A client can email a ticket directly
 
* '''Anonymous Email Address''' - Users can inquire about opportunities without revealing their email address - similar to what online trading-places have
 
* '''Anonymous Email Address''' - Users can inquire about opportunities without revealing their email address - similar to what online trading-places have
 +
  
  
 
==Example Usage==
 
==Example Usage==
You can create a [[Read Only  
+
You can create a [[Custom Field Type: Read Only – System Variables|Read Only – System Variables]] Custom field with the following contents:
  
 
<pre>
 
<pre>
<script>
+
<script>// <![CDATA[
 
function copyToClipboard(element) {
 
function copyToClipboard(element) {
 
   var $temp = $("<input>");
 
   var $temp = $("<input>");
Line 25: Line 27:
 
   $temp.remove();
 
   $temp.remove();
 
}
 
}
 +
// ]]></script>
 +
<span id="objEmail"><a href="mailto:@objemail@">@objemail@</a></span> <a>(Copy to Clipboard)</a></pre>
  
</script>
+
Clicking on the email address will open a new email with your default email program<br />
 
 
<span id="objEmail"><a href="mailto:@objemail@">@objemail@</a></span>
 
<a href="#" onclick="copyToClipboard('#objEmail')">(Copy to Clipboard)</a>
 
</pre>
 
 
 
Clicking on the email address will open a new email with your default email program
 
 
Clicking '''Copy to Clipboard''' will copy the email address to your clipboard so you can paste it (Ctrl-V) into your email program etc.
 
Clicking '''Copy to Clipboard''' will copy the email address to your clipboard so you can paste it (Ctrl-V) into your email program etc.
  
 
==See Also==
 
==See Also==
* [[Email Anything - Why]]
+
* [[Email Anything - Why?]]

Latest revision as of 15:50, 30 November 2018

@objemail@ example

  • The syntax (@objemail@) can be used to generate a unique email address for objects in SmartSimple.
  • This will attach the email as a subrecord to the record from which is has been triggered.
  • The status of the email record is controlled by the Received Activity Status setting. If there is a Workflow defined on that status it will be triggered when the record is added.


Use Cases

  • Review Forms - A reviewer can send an email to the application
  • Project Management - Staff can send email to community contacts while keeping the communication on file, eliminating the need for Outlook Plugin
  • Letters of References - Applicant will enter referee email address, which will allow the Referee to respond back with the letter of reference attached
  • Support Tickets - A client can email a ticket directly
  • Anonymous Email Address - Users can inquire about opportunities without revealing their email address - similar to what online trading-places have


Example Usage

You can create a Read Only – System Variables Custom field with the following contents:

<script>// <![CDATA[
function copyToClipboard(element) {
  var $temp = $("<input>");
  $("body").append($temp);
  $temp.val($(element).text()).select();
  document.execCommand("copy");
  $temp.remove();
}
// ]]></script>
<span id="objEmail"><a href="mailto:@objemail@">@objemail@</a></span> <a>(Copy to Clipboard)</a>

Clicking on the email address will open a new email with your default email program
Clicking Copy to Clipboard will copy the email address to your clipboard so you can paste it (Ctrl-V) into your email program etc.

See Also