Questions tagged [email]

13545 questions
0

votes
0

answer
17

Views

Email in django not being sent

I have a simple django application and I am not understanding why email are not being sent In my settings file I have EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.gmail.com' EMAIL_PORT = 587 EMAIL_HOST_USER = '[email protected]' EMAIL_HOST_PASSWORD = 'Mypassword' DEFAULT_FROM_EMAIL = 'From Email' but repl...
Augusto Peres
0

votes
0

answer
15

Views

Regex for custom email validation

Trying to create custom email validation for below rules The local part can be up to 64 characters in length and consist of any combination of alphabetic characters, digits, or any of the following special characters: ! # $ % & ‘ * + – / = ? ^ _ ` . { | } ~ The period character (".") is valid fo...
Prak
0

votes
0

answer
18

Views

Mail from a Laravel application not working from Server; Works fine from local

enter image description here I have a Laravel application hosted in Godaddy. But when I tested the mail functionality, it gives the error "Connection could not be established with host smtp.gmail.com [Connection refused #111]" The same application works fine in localhost:8000 I tried changing MAIL_...
Abhijit Kazi
1

votes
1

answer
7.7k

Views

The following From address failed Called Mail() without being connected

Hello guys I get this error: The following From address failed: [email protected] : Called Mail() without being connected How can I fix it? Thanks! I send email from localhost running XAMPP in PHP using Gmail mail server.
Cava
1

votes
1

answer
384

Views

Android Studio have error with mail.jar and additionnal.jar and activation.jar

I have imported my project from Eclipse to Android Studio but my app won't run: Caused by: java.lang.VerifyError: Rejecting class javax.mail.internet.MimeMessage because it failed compile-time verification (declaration of 'javax.mail.internet.MimeMessage' appears in /data/data/com.ipAndroid.Settinge...
1

votes
2

answer
556

Views

Nodejs, email send using Nodemailer using Bluehost SMTP not being delivered, no error

I am trying to send email from my Nodejs application. I'm using the package Nodemailer for this. Here's the code I use for sending email; let smtpTransport = nodemailer.createTransport({ host: "box***.bluehost.com", port: 465, secure: true, auth: { user: , pass: } }); let sendResetPasswordEmail =...
Shabin Muhammed
1

votes
2

answer
343

Views

Can you use JavaScript inside an email, which is sent using Python? [duplicate]

This question already has an answer here: Is JavaScript supported in an email message? 8 answers Can you use JavaScript inside an email, which is sent using Python? My aim is to send a working clock inside an email. I am trying to use Python to do so. I am using IDLE and the Python libraries stmpli...
Ron Lauterbach
0

votes
0

answer
3

Views

Setting Environment in Jenkins report results

I have a result report that I manually update with the 4 different environments we test in (DEV, CTE, ITE, PTE). I was looking for a Execution Variable that indicates the URL I am using or a way to show in my reports easily which environment I used. Is there a way to set the variable in one spot (or...
Mike vR
0

votes
0

answer
2

Views

OpenDKIM not signing mails

I know this is a common problem. But none of the existing threads could help me. I am currently setting up OpenDKIM for a mailing list. I have followed a tutorial on DigitalOcean (https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy) but f...
Daniel Eckhoff
1

votes
1

answer
2k

Views

Laravel Email Verification 5.7 using REST API

How to remake Laravel 5.7 Email Verification for Rest API? Or is it worth doing everything from scratch?
1

votes
1

answer
44

Views

Django send_mail does not work with mailgun

Settings: EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' EMAIL_HOST = 'smtp.mailgun.org' EMAIL_PORT = 587 EMAIL_HOST_USER = '[email protected]' EMAIL_HOST_PASSWORD = 'passwordsecret' EMAIL_USE_TLS = True DEFAULT_FROM_EMAIL = '[email protected]' SITE_ID = 2 Output...
Kamil Septio Trojnar
1

votes
1

answer
35

Views

Including links & images in $email_body with PHP

I have created an internal form that staff complete that should send an email to the user and then to the sales team. I have posted a similar question but this is different as it specifically concerns adding links and images. The form should send an email to both [email protected] and the $email of the user/cu...
phphelpplease
1

votes
2

answer
32

Views

Media not found Exception In Email Business Process (Hybris)

I've created a process to be able send email to the user on order confirmation. The problem is that on the DEV environment everything goes well but when I did a deploy to UAT server I got an exception during the task execution ( " Media not found (requested media location: hf0/h27/8861015965726.bi...
Vineeshia Valsan
0

votes
1

answer
8

Views

Django smpt email backend slowing down performance

I'm developing/serving currently locally. I'm using django-admin for internal users to add items. I add in my signal code. My signal is post_save and it's purpose is to send an email to a user for approval. I test my signal using console.EmailBackend EMAIL_BACKEND = 'django.core.mail.backends.consol...
Rach Odwyer
1

votes
1

answer
15

Views

cannot send fileupload.postedfile.inputstream as an attachment - ERROR: cannot convert system.io.stream to string

I need to send a pdf as an attachment. I am using a html template as mailbody. My problem is the error displayed while trying to send the attachment as follows. email.Attachments.Add(new Attachment(FileUpload1.PostedFile.InputStream), pdffilename); The FileUpload1.PostedFile.InputStream is the error...
Thameem
0

votes
0

answer
10

Views

Not Getting Email using Gmail smtp on live server Laravel

I am on Laravel 5.6 and my application working well. I am using Gmail SMTP for mail services. here is my .env file. MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 [email protected] MAIL_PASSWORD=password MAIL_ENCRYPTION=tls I have already Turned ON Less secure apps in Gmail a...
ImZedi
2

votes
1

answer
14

Views

Capture email verification click and open android app

I'm working on an app where various various authentication workflows are provided to the user: one of them is user registration via email/password. So, when registering with email / password, an email verification link is sent to the user's email. When the user clicks this link to validate his email...
Claude Hangui
1

votes
1

answer
31

Views

Django Oscar user verification email

I have a simple installation of Django Oscar project. I would like to know how to send user verification email so that all new users registered email IDs can be verified? By default Oscar registers new users and sends registration email to users.
abi crazieeee
1

votes
2

answer
1.7k

Views

asp.net mvc querystring parsing replaces + with space

This is an odd (to me anyway) query string problem. I'm using a installation tool that has web serial number validation. Basically the install passes a users email and serial number to a web page (or a controller method for MVC) and that takes the query string arguments and does magic to validate t...
WyomingDoug
1

votes
1

answer
1.1k

Views

What is the purpose of ServicePointManager.ServerCertificateValidationCallback?

Lately, I had faced an error while sending email: The remote certificate is invalid according to the validation procedure using and I found a solution to this here which works perfectly but don't know what actually it does. So, can anyone explain me what the below code actually does? and why is the...
Developer Nation
0

votes
1

answer
8

Views

Python: extracted email address from a webpage returning extra characters

Here is the example web address that contains an email address. Here is the code that I am using: from bs4 import BeautifulSoup import requests import re url = 'https://viterbi.usc.edu/directory/faculty/Zadeh/Ali-Enayat' page_response = requests.get(url, timeout=5) soup = BeautifulSoup(page_response...
TJ1
0

votes
3

answer
14

Views

Sending PHP email copies internally (with BCC)

I'm needing to be able to fill in a form on a password protected webpage that then sends the information to the end user but it also needs to send a copy to the generic sales email address. I've been at this for a while and have managed to get it to send emails but they only end up sending to the no...
phphelpplease
0

votes
0

answer
3

Views

How can i add emails in my database to smtp mail

[ if(isset($_POST['submit'])){ if (mail("[email protected]","A new donor registred", 'Blood Type : ' .$_POST['BLOOD'] ." \nCity : ".['CITY'] )){ echo "Mail sent"; }else{ echo "Failed"; } } ?>][1] In here i just entered my email in the code. I need to get all email in my database to this. is it...
Ahnaf Ð Çrüz
1

votes
1

answer
190

Views

Why can't an email confirmation code be a UUID?

From reading Stackoverflow it seems that simply using a UUID for confirming registration via email is bad. Why is that? Why do I need to fancily generate some less random code from a user's data? The suggested ways seem to be a variant of users data + salt -> hash. When a UUID is used, it always get...
Mörkö
1

votes
4

answer
2.8k

Views

how to send an email in nodejs

I read the following, Sending emails in Node.js? but I'm looking for a way to send an email, not through an smtp server. As in the linux envirement you have different options such as sendmail and others I could ofc use the environment I'm in to make use of the already existing functionality, but I w...
superhero
1

votes
3

answer
2.6k

Views

Attach generate pdf into mail in Laravel

I've some problem with email attach generate pdf, hope you can give me some advice, please kindly help. Here is the Controller: public function kirim(Request $request){ $keluhan = keluhan::findOrFail($request->id); $tindak = DB::table('tindakans') ->join('keluhans','keluhans.id','=','tindakans.id_ke...
Christianus Andre
1

votes
2

answer
1.6k

Views

Simple way to send an html/text email using sendgrid & python?

I'm trying to use sendgrid to send email from my Python application. It's sending fine using the mail helper and the following syntax: sgmessage = mail.Mail(from_email, message.subject, to_email, content) sg.client.mail.send.post(request_body=sgmessage.get()) But I can't find the way to send an ema...
Jeremy Jones
1

votes
1

answer
4.1k

Views

Can't get Google Font to show up for HTML email in Gmail

Title explains the issue, but I can't get a Google Font to show up in Gmail for an HTMl email template that I created. I've tried to figure out how to do so (inline CSS, @import, @font-face, etc.) but it still won't show up. Is there currently a way to get Google Fonts to show up in Gmail if you're...
michaelvhester
1

votes
2

answer
982

Views

Django - Attach PDF generated by a view to an email

This question has some elements here, but no final answer. There is view generating a PDF with easy_pdf from easy_pdf.views import PDFTemplateResponseMixin class PostPDFDetailView(PDFTemplateResponseMixin,DetailView): model = models.Post template_name = 'post/post_pdf.html' Then, I want to attach th...
Aurélien
1

votes
1

answer
2.9k

Views

Is there a way to fix the HTML email width on Outlook 2016?

I am sending out HTML email, but no matter what I do, no matter adding width to table, tr, td, div and body, the email content take up the full width no matter what. This happens on both Outlook 2016 on all windows 7, 8 and 10. Is there a way I can fix the width of the email on Outlook 2016?
cytsunny
1

votes
1

answer
3.1k

Views

How to setup email with AWS Lightsail

I've recently hosted my wordpress website through AWS Lightsail. The site has a contact form and a newsletter, but neither are working. I'm also unable to send a password reset email through wordpress, receiving a message that the host may have disabled the mail() function. How do I setup email on...
Supergogoman91
1

votes
2

answer
562

Views

How would you organize mails in a multilingual Laravel application

I'm curious about how to effectively generate emails in a multilingual application. For the sake of getting all answers aligned: let's say you have a typical commercial newsletter with lots of images, markup, and of course many textual paragraphs. Assume that all text does NOT come from a database b...
Propaganistas
1

votes
3

answer
66

Views

How to remove hyperlink underline when forwarding email

So I'm creating email templates from a program called Marketo when I send that email to myself for testing it looks fine, but when I forward that same email the recipient gets all links with an underline. How can I not make the blue line appear? This only happens on Outlooks.
John Doe
1

votes
2

answer
32

Views

How does SMTP escape an RSET command after a DATA command?

In RFC 821, it says that a reset (RSET) command can be sent after a DATA command and some mail data has been sent: However, what distinguishes between a mail client sending an RSET command after DATA, and a mail that contains the word "RSET" on a line by itself? I've checked RFC 5321 as well and I c...
Trevor
1

votes
1

answer
51

Views

Sending emails in django

I want to send email to the user whenever the user gets registered. I have written a code for sending email in my forms.py Below is the code snippet: forms.py from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from django.core...
Aadil Shaikh
1

votes
2

answer
28

Views

Escaping '<' character in Foundation for Email, Zurb

I'm using https://foundation.zurb.com/emails.html to develop my email templates. For each and every template there are parts where I need to add eg. but '
Edin Puzic
1

votes
1

answer
56

Views

Send-MailMessage on PowerShell does not work

I have a big problem. For a school club I have to write a script which sends emails automatically. I decided to use PowerShell for that. My Code: Send-MailMessage –To "[email protected]" –Subject "Test E-Mail" –Body "FIRST EMAIL WITH POWERSHELL" –SmtpServer "smtp.gmail.com" –From "[email protected]
JanF
16

votes
3

answer
22.5k

Views

What does MailMessage.IsBodyHtml do?

I'm testing sending out some emails via C#, but I can't tell what effect setting IsBodyHtml to true has. Regardless of the value, whatever I send in my Body shows up with a content type of "text/plain", and my HTML shows up tags and all in my email client (gmail). What is that flag actually suppos...
Eddie Deyo
-1

votes
1

answer
23

Views

why does my foreach loop dont work here? or is it an other problem? [on hold]

First of all i send the array with Ajax to my php site. $.ajax({ type: 'POST', url: 'sendmail.php', data: {empfang: $('#id1').val(), betreff: $('#id2').val(), nachricht: $('#summernote').val(), insert: insert }, "insert" is my array. it works i tested it on console.log(). "insert" is filled with ema...
Ifaruki
2

votes
0

answer
17

Views

Sending email with a CSV attachment via PHPMailer

I tried sending email that had a CSV file attachment with PHPmailer. Something seems to be wrong because the code gives me an error notice. I downloaded the PHPmailer from GitHub and extracted it via FTP to my server. Then I used the following code but as I told you it doesn't work. What seems to be...
tuomvii

View additional questions