Send Gmail has been restricted to Admins Only

The restricted page has been disarmed, and is shown below.   Sign In to process the restricted page.

Send Email Message using Gmail

This page uses a Conditional Send Gmail command to deliver messages submitted by a self posting HTML Form.   The Form is styled using Bootstrap 3 default theme classes.   The Hashtag Framework uses configured Google OAuth Tokens for delivering messages through Gmail.  


Processed this Hashtag Markup:
<# if "<#[post.to as trimmed]#>"!="" && "<#[post.message as trimmed]#>"!="" #>
	<# send gmail;
		to = "<#[post.to]#>";
		subject = "#BAT - <#[post.subject]#>";
		type = "text"; // text or html
		body = """<#[post.message]#>
		
==
Hashtag Framework BAT
Sent By <#[system.user_ip_address]#>
""";
#>
	<h4 class="alert alert-success text-center">
		Email message delivered to <strong><#[post.to as html]#></strong> successfully!
	</h4>
<# end if #>

<form method="post" action="?" class="form-horizontal">
	<div class="form-group">
		<label for="to" class="col-sm-3 control-label">To</label>
		<div class="col-sm-6">
			<input type="text" name="to" required class="form-control" id="to">
		</div>
	</div>
	<div class="form-group">
		<label for="subject" class="col-sm-3 control-label">Subject</label>
		<div class="col-sm-6">
			<input type="text" name="subject" required class="form-control" id="subject">
		</div>
	</div>
	<div class="form-group">
		<label for="message" class="col-sm-3 control-label">Message</label>
		<div class="col-sm-6">
			<textarea name="message" required 
				class="form-control" rows="3" id="message"></textarea>
		</div>
	</div>
	<div class="form-group">
		<div class="col-sm-offset-3 col-sm-6">
			<input type="submit" class="btn btn-primary" value="Send Email">
		</div>
	</div>
</form>

The Hashtag Markup Language provides many methods for handling and delivering Email.

3rd party services, such as Gmail, are supported by the Hashtag Framework.   The PHP Email configuration is used to deliver native Email.