contact-form

How to make my bot send an e-mail to a given email address?

ⅰ亾dé卋堺 提交于 2021-02-11 18:21:17
问题 I am building a bot using Microsoft Bot Framework (.NET) and I want a Contact dialog where the user writes the subject, the body of the email and the user he wants to send the email to. For example, imagine the bot user is asking questions, if the bot can not propperly answer the question, I would like to throw a contact dialog where the user can contact the administration to ask his/her question via e-mail. As far as I know, I can integrate the email channel with a Office 365 email so my bot

How to get the previous URL in Form message

心不动则不痛 提交于 2021-02-08 11:40:09
问题 I am working on a WordPress site, where I have created a Contact Form . So whenever someone clicks to apply for a job advert it takes them to a Contact Form Example site - https://www.inext.se/job/solution-architect/ Application Contact Form - https://www.inext.se/job-apply-form/?id=6770 Now I am trying to get is the previous URL subject/title or the previous URL . In JavaScript, I know it is possible to get it by - <script type="text/javascript"> document.write(document.referrer); </script>

How to get the previous URL in Form message

可紊 提交于 2021-02-08 11:40:09
问题 I am working on a WordPress site, where I have created a Contact Form . So whenever someone clicks to apply for a job advert it takes them to a Contact Form Example site - https://www.inext.se/job/solution-architect/ Application Contact Form - https://www.inext.se/job-apply-form/?id=6770 Now I am trying to get is the previous URL subject/title or the previous URL . In JavaScript, I know it is possible to get it by - <script type="text/javascript"> document.write(document.referrer); </script>

Contact-form-7: Change year-text in auto-replies dynamically

ε祈祈猫儿з 提交于 2021-01-28 06:20:55
问题 In every email auto-reply, there is a text for copyright purposes like: <em>Copyright © 2019 - All rights reserved.</em> Every year I have to change it manually for every form. Can this be done automatically? Like replacing the year with a variable: <em>Copyright © {{current_year}} - All rights reserved.</em> ? 回答1: There is no simple 'variable replacement' in the CF7 email. It is however easy to include the value of a form field. With that said, you could create a custom form tag [year_tag]

Laravel Contact form on Single Page website

橙三吉。 提交于 2021-01-28 05:53:08
问题 I'm trying to get the correct routes for the Laravel Contact form on a single page website but I'm not sure how to apply the routes so far, since i've done it with sites that aren't single page (parallax - like website/ scrollable). These are the routes I am creating, so everything stays on the homepage(no redirects at all because it's a one page scrollable website) Route::get('/', 'ContactUsController@create')->name('contact.create'); Route::post('/', 'ContactUsController@store')->name(

Contact Form 7 to Wordpress User Database

南笙酒味 提交于 2020-05-15 19:24:29
问题 I have written the following function to add the contact form into the user database fields when it is sent. The issue is it sends the final email but isn't entering anything to the database so I must have an error somewhere, anyhelp would be much appreciated. add_action('wpcf7_before_send_mail', 'my_conversion'); function my_conversion($cf7) { global $wpdb; parse_str($_POST['values'], $cf7->posted_data); $user_id = get_current_user_id(); update_user_meta( $user_id, 'prefix', $cf7->posted

Django Forms.py Email And Phone Validation

房东的猫 提交于 2020-01-23 07:59:45
问题 I have a contact form created with forms.py that I would like to add validation with regular expressions or any built in Django validators for the email and phone fields. The only files I am using are forms.py, views.py, and the html template (there is no models.py for this contact form). If the user enters an incorrect phone number or email, I want to show them a message saying their format is incorrect and that they need to correct their input. The form should not be able to be submitted

contact form not sending senders email

风流意气都作罢 提交于 2020-01-17 02:19:27
问题 i don't know if this is a common problem but i can't seem to understand why it is happening. I am trying to process a form and have it send the details to an email. Simple enough. Here is the PHP code for it. When someone fills the form up it shows everything except the senders email. It comes out as unknown sender. Does anyone know how i can fix it? Thanks a lot to anyone who takes time out to look at this. <?php if($_POST["submit"]) { $recipient="emailx@gmail.com"; $subject="Form to email

Sending mail to multiple recipients

天大地大妈咪最大 提交于 2020-01-16 19:34:12
问题 I have this PHP code for sending emails from a website's contact form: <?php if(count($_POST) > 0){ $userName = $_POST['userName']; $userEmail = $_POST['userEmail']; $userSubject = $_POST['userSubject']; $userMessage = $_POST['userMessage']; $header = "Content-Type: text/html\r\nReply-To: $userEmail\r\nFrom: $userEmail <$userEmail>"; $body = @"Contact sent from website ".$_SERVER['REMOTE_ADDR']." | Day and time ".date("d/m/Y H:i",time())."<br /> <hr /> <p><b>Name:</b></p> $userName <p>———————

special characters in contact form

泄露秘密 提交于 2020-01-16 14:53:21
问题 I have this contact form and the problem is I dont get special characers in my mail (šđžćč or ÀÁÂÃÄÅ...). index.php: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Contact Form</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body> <form method="post" action="contactengine.php"> <label for="Name">Name:</label> <input type=