Questions tagged as 'email'

1
answer

PHPMailer does not recognize "-" character in form input

Hi, good evening / morning / afternoon. I'm having a problem with a simple registration input. It simply does not recognize the "-" character. I made an email to test "[email protected]" only when it returns with the message whether or not it...
asked by 04.05.2017 / 02:49
1
answer

Help - Registration Form

Good afternoon! I made a very simple registration form that sends the data to the e-mail. It was running 100% and simply stopped sending the emails. After all the registration, clicking on "send" the user is usually redirected to the "registr...
asked by 08.05.2017 / 19:36
2
answers

Sending e-mail via CDOSYSMail

I have a email sending code, which I get the sender via request.form and put it inside a variable like this: Dim nome, emailremetente nome = trim(request.form("name")) emailremetente = trim(request.form("email")) And in this line I ente...
asked by 03.05.2017 / 15:35
8
answers

Check if variable contains a well-formatted e-mail address in PHP

The variable receives a value that is supposed to be an email address, but the doubts arise: Will it be an email address, a random text, or something else? Being an email address, is it well formatted? Assuming a valida_email() f...
asked by 05.03.2014 / 18:24
1
answer

Mail function () php, request data

I made a project where I have a page of Pedidos.php that the action goes to that code below action="anexa.php" . Everything works correctly with sending to the email, but I would like, on a page of "My orders", to show a number...
asked by 08.04.2017 / 16:17
2
answers

Email validation php error

I am doing the validation of the email field of my form and in the part of validating the structure of the email I need a help. When I give else, I do not want it to send the information to the database, I want it to give false and show that the...
asked by 14.03.2017 / 18:42
0
answers

PHPMailer does not send email by localhost

Hello, I have a test page in php in it I have the following taken: <?php require 'PHPMailer/PHPMailerAutoload.php'; $mail = new PHPMailer; $mail->isSMTP(); $mail->Host = 'mail.wsmtec.com.br'; $mail->SMTPAuth = true; $mail->Usern...
asked by 06.03.2017 / 15:56
2
answers

How to add image upload in this php code?

I would like you to help me upload an image upload to this php code! <?php $nomeresponsavel = $_POST['nomeresponsavel']; //pega os dados que foi digitado no ID subject. $telefoneresponsavel = $_POST['telefoneresponsavel']; //pega os...
asked by 06.03.2017 / 05:38
0
answers

Send attachments in email - sendmail function

I'm developing a code where I can send emails to my clients with multiple attachments, I already made my code and it works, but in the attachments a file appears that was not the one I attached, I was wondering if anyone knows how I can delete i...
asked by 15.03.2017 / 18:13
0
answers

The best way to use PHPMailer [duplicate]

Well, to trigger emails I use PHPMailer, with the use of gmail or hotmail, however when using it it does not send some emails, this is due to gmail, which blocks or hotmail. In this case what form would be best to use PHPMailer, with the email...
asked by 10.03.2017 / 21:17