smtp Questions
37
Solved
I am using the SmtpClient library to send emails using the following:
SmtpClient client = new SmtpClient();
client.Host = "hostname";
client.Port = 465;
client.DeliveryMethod = SmtpDeliveryMethod....
9
Solved
I am writing a program to attach a file to email. Currently I am saving file using FileStream into disk, and then I use
System.Net.Mail.MailMessage.Attachments.Add(
new System.Net.Mail.Attachmen...
Chud asked 17/3, 2011 at 7:45
3
Looking for some insight into this error I'm getting.
on smtpTransport.sendmail(func(err, info){})
The err variable returns this:
Error: getaddrinfo ENOTFOUND smtp.gmail.com smtp.gmail.com:46...
Craig asked 22/9, 2017 at 5:21
2
Solved
I've searched a fair bit on this and couldn't come up with anything satisfactory.
I've been trying to write a python program to listen for email bounce reports and depending on the reason for the ...
Pros asked 5/11, 2015 at 13:4
3
I am trying to send email through gmail via postfix, but it shows me the following error:
Must issue a STARTTLS command first.
Sep 6 01:11:34 NovusTec postfix/smtp[10889]: 1284460D68: to=<[ema...
Consolidate asked 6/9, 2016 at 5:18
31
Solved
I want to send an email from my application and i have written following code for sending mail
MailMessage msg = new MailMessage();
msg.From = new MailAddress("mymailid");
msg.To.Add("receipie...
8
Solved
I am creating the transport object like this.
var transport = nodemailer.createTransport("SMTP", {
host: "smtp-mail.outlook.com", // hostname
secureConnection: false, // use SSL
port: 587, // p...
Neuropathy asked 22/10, 2013 at 5:3
10
Solved
I've been using python for a bit now and have been using the email function without any errors in the past but on the latest program I have made I've been getting this error
Traceback (most recent...
2
I have a little issue with Wordpress image, will be thankful for any help.
I have existing database, which I import with dump.
My Mysql Dockerfile listing below:
FROM mariadb:10.1.20
COPY dump/...
3
I am trying to use Office365 smtp server for automatically sending out emails. My code works previously with gmail server, but not the Office365 server in Python using smtplib.
My code:
import s...
3
I'm using postfix to send email via gmail with an application's password (two step-validation activated).
Each time I test sending mail using sendmail command, I get this error:
Action: delayed
S...
Herring asked 14/1, 2018 at 20:4
5
Solved
Recently the support for OAuth 2.0 for IMAP and SMTP in the Exchange Online has been announced.
Following the guide I've set up the application permissions and IMAP and SMTP connection.
The applica...
2
Solved
On my Mac terminal, I am trying to telnet into my smtp.gmail.com through port 587.
On Google Apps, (which is set to manage a Dreamhost domain), I have relay configured, as follows:
"Allowed sende...
3
Solved
I'm trying to send email in c# using Oauth2 with an office 365 account.
Currently I am able to get the token but not sure how I'm able to use that token and send the email.
System.Net.Mail does not...
4
I'm trying to fix an email issue with an inherited website and don't have access to the code (i.e. just the compiled files). This site needs to be hosted on a new web server having a different SMTP...
3
I am trying to set up email verification in my app using nodemailer with a Gmail account.
My problem is that it reports an error, stating that my Username and Password have not been accepted:
There...
Redbird asked 6/1, 2022 at 12:1
3
Formerly, I used my server as mail host and was sending emails via my own host. Now, I use Yandex as my mail server. I'm trying to send emails via Yandex SMTP. However, I could not achieve it. I ge...
3
Solved
I keep trying to run this code in order to send an excel sheet as an attachment on an email. I can send normal emails using smtplib but can't get the MIMEMultipart to work. I keep getting the [Attr...
Bedding asked 1/7, 2016 at 18:0
3
Solved
I am writing a simple sendmail function to myself and I keep getting this error:
NameError: name 'SMTPException' is not defined
What is wrong with my code? Any suggestions?
import smtplib
sende...
3
Solved
I want to send an email using outlook. The code is as follows:
import smtplib
from email.message import EmailMessage
msg = EmailMessage()
msg['From'] = '*******'
msg['Subject'] = 'Some subject her...
Convergence asked 12/10, 2021 at 13:53
4
I am trying to configure an SMTP host for my Spring boot application.
I have this code in my application-dev.yml file:
mail:
host: smtp.gmail.com
port: 465
username: [email protected]
...
Thorfinn asked 27/12, 2016 at 20:6
14
Solved
I have written the following code for sending email using javamail API through SMTP as TLS as SSL is not supported but I ended up with the following exception. Please see my code below. I have used...
Nibbs asked 5/10, 2012 at 9:57
6
Solved
how to send utf8 e-mail please?
import sys
import smtplib
import email
import re
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
def sendmail(firm, fromEmail, ...
17
I am trying to send mail using gmail, and I am getting an exception that is The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must iss...
© 2022 - 2024 — McMap. All rights reserved.