This commit is contained in:
@@ -5,47 +5,38 @@
|
||||
}
|
||||
|
||||
|
||||
<div class="container">
|
||||
<div class="container">
|
||||
|
||||
<div class="jumbotron text-center" style="background-image: url(images/jumbotronbackgroundABC.png); background-size: 100% no-repeat center;">
|
||||
<font color="white"><h2>Have questions? We have answers!</h2>
|
||||
<div class="jumbotron text-center"
|
||||
style="background-image: url(images/jumbotronbackgroundABC.png); background-size: 100% no-repeat center;">
|
||||
<font color="white">
|
||||
<h2>Have questions? We have answers!</h2>
|
||||
</font>
|
||||
</div><!--close jumbotron-->
|
||||
<hr>
|
||||
</div>
|
||||
<!--close jumbotron-->
|
||||
<hr>
|
||||
|
||||
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<ul>
|
||||
<li>Check out the <a href="https://ayanova.com/faqanswers.htm">Answers to Frequently Asked Questions</a> including technical, configurations, licensing, pricing, purchasing and more</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Follow along with the step tutorial <a href="https://www.ayanova.com/AyaNova7webHelp/index.html?basic_overview_of_a_workorder.htm">How do I...?'s</a> with screenshots in the AyaNova online Help documentation</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Check out <a href="https://www.ayanova.com/AyaNova7webHelp/index.html?accessing_data_displayed_in_ma.htm">details about each feature</a> of AyaNova and/or its optional add-on in the AyaNova online Help documentation</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>View answers to common questions on the <a href="http://forum.ayanova.com" target="_blank">AyaNova Support Forum</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Contact us via direct email at <strong>support@ayanova.com</strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Have a quick question? Send us your question via our online form below</li>
|
||||
<li>Or send us your question via our online form below</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<form class="form form-horizontal" method="post">
|
||||
</div>
|
||||
<form class="form form-horizontal" method="post">
|
||||
<div asp-validation-summary="All"></div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@@ -74,7 +65,8 @@
|
||||
<div class="form-group">
|
||||
<label asp-for="Contact.DbId" class="col-md-3 right">DbId:</label>
|
||||
<div class="col-md-9">
|
||||
<input asp-for="Contact.DbId" placeholder="AyaNova 8 Database Id (optional)" class="form-control" required />
|
||||
<input asp-for="Contact.DbId" placeholder="AyaNova Database Id (optional)" class="form-control"
|
||||
required />
|
||||
<span asp-validation-for="Contact.DbId"></span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -96,7 +88,8 @@
|
||||
<div class="form-group">
|
||||
<label asp-for="Contact.Message" class="col-md-3 right">Message:</label>
|
||||
<div class="col-md-9">
|
||||
<textarea asp-for="Contact.Message" placeholder="Any questions for us?" rows="6" class="form-control"></textarea>
|
||||
<textarea asp-for="Contact.Message" placeholder="Any questions for us?" rows="6"
|
||||
class="form-control"></textarea>
|
||||
<span asp-validation-for="Contact.Message"></span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -110,8 +103,9 @@
|
||||
|
||||
<label class="col-md-4 control-label" for="Send"></label>
|
||||
<div class="col-md-4">
|
||||
<div class="g-recaptcha" data-callback="imNotARobot" data-sitekey="6LcH7GUUAAAAAJIDf_JDZolSv__xN6oqr9Dx79zs"></div>
|
||||
<button id="btnsubmit" type="submit" class="btn btn-info" >Send us your question</button>
|
||||
<div class="g-recaptcha" data-callback="imNotARobot" data-sitekey="6LcH7GUUAAAAAJIDf_JDZolSv__xN6oqr9Dx79zs">
|
||||
</div>
|
||||
<button id="btnsubmit" type="submit" class="btn btn-info">Send us your question</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="row">
|
||||
@@ -119,15 +113,20 @@
|
||||
<button type="submit">Send</button>
|
||||
</div>
|
||||
</div> -->
|
||||
</form>
|
||||
<div class="row">
|
||||
</form>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<p>The email address you provided will automatically and immediately receive a copy of what you sent to us as confirmation too. </p>
|
||||
<p>All of our responses are from real live people, so there could be a delay receiving a reply due to time zone differences, time of day, weekend, or if a holiday long weekend.</p>
|
||||
<strong><p>Why do we ask for your name, company name and email address?</p></strong>
|
||||
<p>We use the information you send us to respond to you, to provide sales support and technicial support to you and your company, and to make AyaNova recommendations and suggestions to you and your company. Also refer to our <a href="https://www.ayanova.com/privacypolicy.htm" target="_blank">Privacy Policy</a> for more clarity.</p>
|
||||
<p>All of our responses are from real live people, so there could be a delay receiving a reply due to time
|
||||
zone differences, time of day, weekend, or if a holiday long weekend.</p>
|
||||
<strong>
|
||||
<p>Why do we ask for your name, company name and email address?</p>
|
||||
</strong>
|
||||
<p>We use the information you send us to respond to you, to provide sales support and technicial support to
|
||||
you and your company, and to make AyaNova recommendations and suggestions to you and your company. Also
|
||||
refer to our <a href="https://www.ayanova.com/privacypolicy.htm" target="_blank">Privacy Policy</a> for more
|
||||
clarity.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -139,28 +138,10 @@
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<h3>If you have sent a question, but have not received a confirmation email</h3>
|
||||
<h3>If you have sent a question, but have not received a reply</h3>
|
||||
<p> </p>
|
||||
<p><strong>1. Check the spelling of your email address:</strong></p>
|
||||
<p>Just in case!</p>
|
||||
<p> </p>
|
||||
<p><strong>2. Confirm that your email address mailbox is not full:</strong></p>
|
||||
<p>Your mailbox may have an email quota. And if email forwarding, do check both the email address originally sent to as well as the email address account being forwarded to.</p>
|
||||
<p> </p>
|
||||
<p><strong>3. Check your Junk folder:</strong></p>
|
||||
<p>If you find the email(s) from us in your Junk folder, do edit your spam settings so that all email from support@ayanova.com is allowed.</p>
|
||||
<p> </p>
|
||||
<p><strong>4. Issues with HotMail or AOL accounts:</strong></p>
|
||||
<p>If you have sent an email using a HotMail or AOL account (@@hotmail.com or @@aol.com), although we may receive it and have sent a reply, you may never receive our emails and we will never be advised that it was rejected by HotMail</p>
|
||||
<p>You can also check out these two URL links about why not to use a HotMail account if you actually want to receive email from other's that do not have a HotMail account:</p>
|
||||
<p><a href="http://www.theregister.com/2007/05/01/hotmail_friendly_fire/" target="_blank">http://www.theregister.com/2007/05/01/hotmail_friendly_fire/</a> </p>
|
||||
<p><a href="http://www.iis-aid.com/articles/iis_aid_news/are_hotmail_cutting_their_own_throat" target="_blank">http://www.iis-aid.com/articles/iis_aid_news/are_hotmail_cutting_their_own_throat</a> </p>
|
||||
<p> </p>
|
||||
<p><strong>5. Your SPAM settings:</strong></p>
|
||||
<p>Your email program or your ISP (Internet Service Provider) is using a spam filter that is filtering out all email from us, or certain email depending on the content.</p>
|
||||
<p>You may need to edit your email program and/or contact your ISP to allow all email from support@ayanova.com </p>
|
||||
<p>Once you have done this, either forward your previous email, or send a new email stating that you did not receive a reply due possibly to a spam filter, and we will resend the information.</p>
|
||||
<p>We are not made aware by your spam filter that the email has not been received by you. The only way is if you confirm the receipt, or contact us again.</p>
|
||||
<p>We answer every email we receive promptly within business hours. Verify you used the correct email
|
||||
address and check your spam folder.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -173,8 +154,11 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<h3>Can I phone someone or have someone phone me?</h3>
|
||||
<p>In order to be able to provide an affordable product for small business with fast technical support globally, we do not provide phone support.</p>
|
||||
<p>Please contact us via the online form above, or send us a direct email to support@ayanova.com and our North American support staff will respond promptly between 9:00AM and 5:00PM Pacific Standard Time (-8GMT/ UTC) Monday to Friday.</p>
|
||||
<p>In order to be able to provide an affordable product for small business with fast technical support
|
||||
globally, we do not provide phone support.</p>
|
||||
<p>Please contact us via the online form above, or send us a direct email to support@ayanova.com and our
|
||||
North American support staff will respond promptly between 9:00AM and 5:00PM Pacific Standard Time (-8GMT/
|
||||
UTC) Monday to Friday.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -188,9 +172,10 @@
|
||||
<hr>
|
||||
<small><span>Ground Zero Tech-Works Inc., 05 - 3610 Christie Parkway Courtenay, BC V9N 9T6 Canada</span>
|
||||
<br>
|
||||
<span>Since 1999 AyaNova® is a registered trademark of Ground Zero Tech-Works Inc. in the United States and other countries.</span>
|
||||
<span>Since 1999 AyaNova® is a registered trademark of Ground Zero Tech-Works Inc. in the United States and
|
||||
other countries.</span>
|
||||
<br>
|
||||
<span><a href="https://ayanova.com/license.htm">End User License Agreement</a></li> | <a href="https://ayanova.com/privacypolicy.htm">Privacy Policy</a></span></small>
|
||||
<span><a href="https://ayanova.com/privacypolicy.htm">Privacy Policy</a></span></small>
|
||||
</div>
|
||||
</div>
|
||||
<!--end bottom container-->
|
||||
@@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
@@ -9,7 +6,6 @@ using System.Net.Mail;
|
||||
using System.Net;
|
||||
//for captcha:
|
||||
using System.Net.Http;
|
||||
using System.Net.Http.Headers;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
@@ -72,12 +68,15 @@ namespace contact.Pages
|
||||
var blocks = new List<string>();
|
||||
blocks.Add("google");
|
||||
blocks.Add("jumboleadmagnet");//<--fuck this guy in particular, keeps spamming
|
||||
blocks.Add("boostleadgeneration");
|
||||
//ericjonesmyemail@gmail.com
|
||||
var companyname = Contact.Company.ToLowerInvariant();
|
||||
foreach (string s in blocks)
|
||||
{
|
||||
if (companyname.Contains(s))
|
||||
{
|
||||
goto skipspam;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,7 +107,7 @@ namespace contact.Pages
|
||||
smtpClient.Port = 587;
|
||||
smtpClient.UseDefaultCredentials = false;
|
||||
//testing
|
||||
smtpClient.EnableSsl=true;
|
||||
smtpClient.EnableSsl = true;
|
||||
|
||||
// smtpClient.Port=465;
|
||||
// smtpClient.DeliveryMethod= SmtpDeliveryMethod.Network;
|
||||
@@ -127,8 +126,8 @@ namespace contact.Pages
|
||||
//Fastmail server names and ports help page: https://www.fastmail.help/hc/en-us/articles/1500000278342
|
||||
//APP Password created in fastmail for smtp use only labelled 'contact-form': cnea8agl6nlx5j7l
|
||||
|
||||
//try using from as support@onayanova.com
|
||||
//try domain version if this still won't work
|
||||
//try using from as support@onayanova.com
|
||||
//try domain version if this still won't work
|
||||
smtpClient.Credentials = new System.Net.NetworkCredential("support@onayanova.com", "cnea8agl6nlx5j7l");
|
||||
//******************************************************************************************************************
|
||||
//******************************************************************************************************************
|
||||
@@ -137,26 +136,27 @@ namespace contact.Pages
|
||||
}
|
||||
}
|
||||
|
||||
//SEND COPY TO CLIENT
|
||||
using (var message = new MailMessage())
|
||||
{
|
||||
message.To.Add(new MailAddress(Contact.Email));
|
||||
message.From = new MailAddress("support@ayanova.com");
|
||||
message.Subject = $"Confirmation that your question about AyaNova has been received from {Contact.Company}";
|
||||
message.Body = MessageBody;
|
||||
//Removed 2022-10-06 causing backscatter and also not helpful
|
||||
// //SEND COPY TO CLIENT
|
||||
// using (var message = new MailMessage())
|
||||
// {
|
||||
// message.To.Add(new MailAddress(Contact.Email));
|
||||
// message.From = new MailAddress("support@ayanova.com");
|
||||
// message.Subject = $"Confirmation that your question about AyaNova has been received from {Contact.Company}";
|
||||
// message.Body = MessageBody;
|
||||
|
||||
using (var smtpClient = new SmtpClient("smtp.fastmail.com"))
|
||||
{
|
||||
// using (var smtpClient = new SmtpClient("smtp.fastmail.com"))
|
||||
// {
|
||||
|
||||
smtpClient.Host = "smtp.fastmail.com";
|
||||
smtpClient.Port = 587;
|
||||
smtpClient.UseDefaultCredentials = false;
|
||||
smtpClient.EnableSsl=true;
|
||||
//NOTE: Do not use the noreply email address to send mail, it crashes the server somehow
|
||||
smtpClient.Credentials = new System.Net.NetworkCredential("support@onayanova.com", "cnea8agl6nlx5j7l");
|
||||
smtpClient.Send(message);
|
||||
}
|
||||
}
|
||||
// smtpClient.Host = "smtp.fastmail.com";
|
||||
// smtpClient.Port = 587;
|
||||
// smtpClient.UseDefaultCredentials = false;
|
||||
// smtpClient.EnableSsl=true;
|
||||
// //NOTE: Do not use the noreply email address to send mail, it crashes the server somehow
|
||||
// smtpClient.Credentials = new System.Net.NetworkCredential("support@onayanova.com", "cnea8agl6nlx5j7l");
|
||||
// smtpClient.Send(message);
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
4
notes
4
notes
@@ -16,6 +16,10 @@ $Profit
|
||||
//empty publish folder then...
|
||||
dotnet publish -c Release -o ./../publish/ --no-self-contained -r linux-x64
|
||||
|
||||
backup last contact in contact.last folder
|
||||
remove all files from contact.last
|
||||
then cp -a ../contact/. .
|
||||
|
||||
copy up to server
|
||||
.NET Core apps: /srv/coreapps/contact
|
||||
|
||||
|
||||
Reference in New Issue
Block a user