Most voted "email" questions
Method of exchanging digital messages from an author to one or more recipients. Use this tag for questions that need to programmatically manipulate email messages and services.
Learn more…379 questions
Sort by count of
-
3
votes1
answer474
viewsSending birthday emails based on Mysql query
I have to create a function (task) on the server of my site that sends a birthday email, containing an HTML code, to birthday emails. Detail: these birthdays are registered in a Mysql table that…
-
3
votes3
answers4384
viewsDifficulties in Sending Email using PHP
Based on the code below, used for sending email: <?php $from = $_POST['email']; $to = '[email protected]'; $subject = $_POST['subject']; $message = $_POST['content']; $headers = 'From: ' . $from…
-
3
votes0
answers238
viewsHow to attach a file using Mandrill API?
Yo, yo, y'all! I’ve been trying for two days, but I haven’t succeeded yet. I know I’m close, but I need your help. I usually take a lot of Jobs with only fixed data (front-end). So I use the API of…
-
3
votes3
answers9295
viewsEmail verification in Java
I am doing a simple test to check if the user has typed a valid email. So I have an error of syntax in token "@" invalid Assignmentperator. Code of the main class: public class Email { static String…
-
3
votes1
answer211
viewsSend mail through Lua
I want to send a simple mail in Lua, I used the example in official documentation, and always give me back nil. Example: -- load the smtp support local smtp = require("socket.smtp") from =…
-
3
votes1
answer77
viewsSendmail() BATCH localhost
Friends, I am being able to send email normally using sendmail() localhost, as follows: sendmail.ini [sendmail] smtp_server=smtp.gmail.com smtp_port=587 error_logfile=error.log…
-
3
votes1
answer710
viewsSend HTML e-mail with Android formatting (style inline)
I am trying to send a personalized email through new Intent(Intent.ACTION_SEND), containing in the email body a formatted HTML, but when selecting the Gmail application, for example, the whole style…
-
3
votes3
answers701
viewsHow to prevent Microsoft Outlook from creating a blue link in the html where it is written www.algo.com
I’m doing an email marketing with html text and images. In some parts of the text there is the address of a company: www.empresa.com.br, which should not be a link, only text. When sending to test,…
-
3
votes1
answer966
views -
3
votes1
answer329
viewsSending emails at scheduled times
I wonder how do I get my log.txt file sent to a desired email at a set time (Ex: 15 min)? And after it is sent, the process restarts and creates a new log.txt. import pythoncom, pyHook, def…
-
3
votes0
answers339
viewsSave Email Outbox
I wonder if it is possible to save an email in the default email manager output box (Outlook, live mail, among others) using Indy10. Today I already have a function to send email, but calls the…
-
3
votes1
answer1470
viewsTest connection with Phpmailer
I’ve been working with Phpmailer for a while, now I’m inserting it into a more complex Content Manager and through the panel one can insert several emails to be the Phpmailer Sender in several…
-
3
votes1
answer1734
viewsgenerate and email with pdf file attached with php
In my PHP script, I need to generate a PDF file and send it via email. I was able to send an attached file by email using phpmailer and generate a PDF in the browser using fpdf. The problem is that…
-
3
votes2
answers77
viewsmai() php function not working under conditions
I have a PHP that sends an email from a contact form, when this in the condition of the captcha verification, I receive the sent message, but the email is not delivered, and when I remove the…
-
3
votes1
answer208
viewsHelp with step email form
Guys sorry to bother you, I’m creating a 3-step email form with 3 pages and each one is typed data in the input, I’ve already read Section tutorial and I’m not able to print at the end the data of…
-
3
votes1
answer179
viewsSending attachment with Flask-Mail
Setting up flask and testing was quick and easy but sending attachments is very difficult if not impossible. Someone has a tip or example for sending attachments with Flask-Mail? My code is like…
-
3
votes2
answers816
viewsHow to send text formatted with Tidmessage smtp and richedit
Hello. I am trying to send an email with formatted text using my Delphi program only instead of sending a text a file is sent. trx as an attachment. I’m using: Tidmessage -> Idmsgsend // tidSMTP…
-
3
votes1
answer3590
viewsHow do I send a file as an attachment by email without automatically renaming it?
I am beginner in sending emails via script and am facing a problem. I use Python 3.5. When sending attachments with the following script, they lose the extension and are renamed: def…
-
3
votes3
answers155
viewsHow can I stop systems from incorporating my website?
A little while ago I discovered that people are accessing my site with a marketing application (Website Marketing). Ai every time comes from different "people", with different data but with the same…
-
3
votes2
answers1391
viewsconfirmation of registration via e-mail
I’m setting up a registration system and only need the confirmation part in the email to finish and I’m not able to do this part. I’ve researched tutorials on youtube and tried to apply them to my…
-
3
votes1
answer913
viewsSend Javascript by email
I have a code in C# that sends emails with HTML, until then ok, the problem is that I can not send scripts (JS). Yes, I understand why, must be security reasons. But there is no way burlar or do…
-
3
votes2
answers79
viewsUse user, email or one of the two for authentication?
I am developing an application that, like all others, will need the user’s email for some purposes. Each user will also have a unique username for their profile page: /u/:username The question is:…
-
2
votes1
answer82
viewsCustomer login with credentials to access news
Explanation: I have a customer registration in post_type through metaboxes, where there are the fields email and password, and the client’s name is the_title(); Goal: I need to log in with the…
-
2
votes1
answer132
viewsSending php email - Swift_attachment does not work
I’m trying to send an email, but I can’t attach a file. The file is copied to the tmp uploads folder, I have checked and it is there. If I comment on the line that attaches the file, the email is…
-
2
votes2
answers762
viewsHow to Add SSL Free in Azure? Is it Possible?
In Azure: I have an Azure account where I created a new Site. To add an SSL Certificate (Https) I had to change the hosting plan from "Free" to "Basic" (in the Scale menu). Then I opened the option…
-
2
votes1
answer103
viewsSwiftmailer - Corrupted HTML on receiving
I am having problems with Swiftmailer when I send a message and sometimes I get complaints that the content is completely broken (HTML removed). My software sends a lot of emails, and this problem…
-
2
votes2
answers2831
viewsuse PHP to know if sent email has been opened
I am very curious to know how to know if the email I sent was opened by the recipient. There is a way to know using PHP or some other language ?
-
2
votes2
answers1675
viewsSending an email programmed with PHP
All right, folks, I’m new here and I have a very peculiar question. I am developing a system (Codeigniter + Mysql) that records some events and should send an email at a predefined date, around…
-
2
votes1
answer195
viewsCrontab open external page
I set up a cron on my server to run a php script. inside the crontab ran the line : curl http://localhost/atualizacoes/check-atualizacoes.php It ran perfectly, but inside this php I have an if that…
-
2
votes1
answer560
viewsHandling possible typos in emails (@gamail, @hotnail .)
Well, I have some problematic registrations because the user typed in: "josé@gamail.com". From what I saw in this answer, most servers have disabled a possible ping with reply if the email exists,…
-
2
votes3
answers4786
viewsLine break into email message
In my string mensagem, i would like to have a two line space, I tried using "/n" and I did not get the expected result. @{ var customerName = Request["customerName"]; var customerEmail =…
-
2
votes2
answers873
viewsApache Commons Email does not send email using Gmail
Click here to open the repository in Maven Repository for Apache Commons Email. I have the following code that receives from a form the recipient, subject and the message: @RequestMapping(value = {…
-
2
votes1
answer477
viewsImplement form, causing the message to be sent directly to my email
I have a contact form on my website. It picks up information like name, email, phone and message. However, this data is displayed only in the administration panel of the site itself. I would like…
-
2
votes1
answer8849
viewsHow to send only a spreadsheet by email in VBA and not the whole file using the code below
Option Compare Database Option Explicit Public Const C_Title As String = "ef3.Cinco" 'Metodos Public Sub SendMail(obj As MailClass) 'Nome da classe... Dim appOutLook As Outlook.Application…
-
2
votes0
answers57
viewsProblema ao enviar email AWS
I have two domains, .com and .com.br, for the domain .com all the e-mails sent and received are all right. However if I send e-mail to the .com.br the e-mail turning back. For example,…
-
2
votes1
answer903
viewsHow to validate the IP of a list Emails to know if they are real or fake and can receive messages?
I know there are services that do this, but I would like to know how they do this kind of test, to find out if the email is really valid, not only through a PHP filter, for example: function…
-
2
votes1
answer644
viewsProblems with HTML images sent to email
I did several tests using an image with absolute path. Inside the intranet works perfectly, but in the extranet (GMAIL/OUTLOOK) does not work at all. Someone can help?
-
2
votes2
answers506
viewsCurriculum attachment via e-mail in Codeigniter not working
Good afternoon, I am using this code to receive some data from alleged candidates who subscribe to the site. I would like the applicant to send the attached file. Views are ok.. and I think the…
-
2
votes2
answers1532
viewsAmazon SES, send unverified emails
I have the domain verified in Amazon SES, but would like to send emails notifications to emails that are not verified. It is necessary to check all emails or there is some setting that exempts me…
-
2
votes1
answer839
viewsASP.Net and C# - automatic e-mail sending
On the site I took over from a client, developed in ASP.Net with C#, there are registered employees with a defined admission date. The registration of these employees is in an SQL Server 2008…
-
2
votes1
answer405
viewsAttach file using Webbrowser Delphi
I am developing a tool to automate the sending of emails from the company, I wanted to know how to automatically load an attachment as in this screenshot Remember that I need to make use of…
-
2
votes1
answer265
viewsSending SMTP email in Wordpress via server with self-signed certificate
I have a Wordpress Multisite (4.3) on a server where sending emails is blocked. To send emails, an external server with authentication must be used. By default, the native function wp_mail()…
-
2
votes1
answer85
viewsConvert a stream to string?
I’m taking emails from the inbox of an account I created for testing, I’m tracking them with the Node-imap and parse them with the Mailparser and I am able to recover most of the information I need,…
-
2
votes2
answers104
viewsCould not acess file: Array e syntax error, Unexpected '$name' (T_VARIABLE)
I am using Phpmailer to send an attached email by a form, my code has no errors, but when I finish the form and press send, returns an error but that the email was sent. Code:…
-
2
votes1
answer1087
viewsHow to verify if a String is encoded in Base64?
I am working on an email application using Vuejs/Quasar on the client and Hapijs on the server, and some emails (depends on the sender) comes with the text encoded in Base64, and others not. Here…
-
2
votes2
answers127
viewsPick specific characters from a string?
I’m getting the following Javascript string: Nome Sobrenome <[email protected]> How do I pick up only the email inside <>??
-
2
votes0
answers164
viewsPick up file path after upload?
I am making an email application using Vuejs and I am in the attachments part, and I want to get the file path because only it is enough for me to send the attachment using nodemailer. Is there any…
-
2
votes0
answers196
viewsRecognize Laravel Email Sending Error
Good morning. I’m making a cron with Laravel 5.2 for sending emails to my company, I am using sending Mail of Laravel and would like to know if there is a way for Laravel to recognize that the email…
-
2
votes1
answer4020
viewsMaximum character limit of an e-mail address
I want to validate an email field both on the page and in the database, but I don’t know what the character limit is that an email can have. Hug!
-
2
votes2
answers899
viewsJavascript function for email validation does not enter Else
Can someone tell me why that function can’t get into else? When the email meets the function it usually works only when it does nothing, ie the function recognizes that the condition of the if is…