smtp

PHPMailer .Exception:SendAsDeniedException.MapiExceptionSendAsDenied

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i have installed PHPMailer on my website. but, i can't get it to work the way it should. when i send an email through the website i get the following error: 08:12:53 CLIENT -> SERVER: RCPT TO: 2016-10-13 08:12:53 CLIENT -> SERVER: DATA 2016-10-13 08:12:53 CLIENT -> SERVER: Date: Thu, 13 Oct 2016 08:12:51 +0000 2016-10-13 08:12:53 CLIENT -> SERVER: To: Kevin Kloet 2016-10-13 08:12:53 CLIENT -> SERVER: From: Name <myEmail@email.com> 2016-10-13 08:12:53 CLIENT -> SERVER: Reply-To: Name <myEmail@email.com> 2016-10-13 08:12:53 CLIENT -> SERVER:

Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: while sending mail I am getting this error java.lang.RuntimeException: javax.mail.SendFailedException: Sending failed; nested exception is: class javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1 my code is: Properties props = new Properties(); props.put("mail.smtp.host", "smtp.gmail.com"); props.put("mail.smtp.starttls.enable","true"); props.put("mail.smtp.socketFactory.port", "465"); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.port", "465"); Session session = Session

Javamail Could not convert socket to TLS GMail

匿名 (未验证) 提交于 2019-12-03 01:07:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to send an email using JavaMail through gmails SMTP Server. however this code. final String username = "mygmail@gmail.com"; final String password = "mygmailpassword"; Properties props = new Properties(); props.put("mail.smtp.auth", true); props.put("mail.smtp.starttls.enable", true); props.put("mail.smtp.host", "smtp.gmail.com"); props.put("mail.smtp.port", "587"); Session session = Session.getInstance(props, new javax.mail.Authenticator() { protected PasswordAuthentication getPasswordAuthentication() { return new

Rails Mailer “Net::OpenTimeout: execution expired” Exception on production server only

匿名 (未验证) 提交于 2019-12-03 01:07:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Ruby MRI 2.0.0 and Rails 3.2.12 on a Ubuntu 12.04 TLS VPS and attempting to setup email notifications in my app. It was working fine a few days ago, but not anymore. My web host is OVH. My SMTP settings: config.action_mailer.perform_deliveries = true config.action_mailer.raise_delivery_errors = true ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :user_name => 'sender@gmail.com', :password => 'secret', :authentication => 'plain', :enable_starttls_auto => true } Using RAILS_ENV=production rails

SMTP Connect() failed. Message was not sent.Mailer error: SMTP Connect() failed

匿名 (未验证) 提交于 2019-12-03 01:06:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Am trying to send mail to a gmail address but it keeps on getting this error "SMTP -> ERROR: Failed to connect to server: Connection timed out (110)SMTP Connect() failed. Message was not sent.Mailer error: SMTP Connect() failed." What could be the problem? require 'class.phpmailer.php'; // path to the PHPMailer class require 'class.smtp.php'; $mail = new PHPMailer(); $mail->IsSMTP(); // telling the class to use SMTP $mail->SMTPDebug = 2; $mail->Mailer = "smtp"; $mail->Host = "ssl://smtp.gmail.com"; $mail->Port = 587; $mail->SMTPAuth = true;

Java mail without ssl - PKIX path building failed:

匿名 (未验证) 提交于 2019-12-03 01:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am using java mail to send emails over smtp. The smtp settings given below: Properties props = new Properties (); Object put = props . put ( "mail.smtp.host" , smtpHost ); props . put ( "mail.smtp.user" , smtpUser ); props . put ( "mail.smtp.auth" , true ); props . put ( "mail.debug" , mailDebug ); props . put ( "mail.smtp.port" , port ); The smtp credentials have been verified by telnetting to my smtpHost with the above details. However, I get the following exception when I use the above settings in java mail. 250 - AUTH PLAIN

AWS SES with PHPMailer using SMTP, SMTP Error: Could not authenticate?

匿名 (未验证) 提交于 2019-12-03 01:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I get the following error: Authentication Credentials Invalid. I've double checked the username (Access key ID) and password (Secret Token) a million times. I double checked the base64 sent to the server and it's correct. User has correct access rights. All outbound traffic from EC2 server is allowed. SELinux is disabled. I've escaped special characters, tried different credentials. Tried using a user with more access. I'm using PHPMailer with AWS SES. Here is the code: $mail = new PHPMailer; $mail->isSMTP(); $mail->SMTPAuth = true; $mail-

JavaMail Gmail issue. “Ready to start TLS” then fails

匿名 (未验证) 提交于 2019-12-03 01:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: mailServerProperties = System.getProperties(); mailServerProperties.put("mail.smtp.port", "587"); mailServerProperties.put("mail.smtp.auth", "true"); mailServerProperties.put("mail.smtp.ssl.trust", "*"); mailServerProperties.put("mail.smtp.starttls.enable", "true"); mailServerProperties.put("mail.debug", "true"); getMailSession = Session.getDefaultInstance(mailServerProperties, null); generateMailMessage = new MimeMessage(getMailSession); generateMailMessage.addRecipient(Message.RecipientType.TO, new InternetAddress("blah@gmail.com"));

send email asp.net c#

匿名 (未验证) 提交于 2019-12-03 00:53:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to send email from my computer(localhost) using asp.net project in C#? Finally I am going to upload my project into webserver but I want to test it before uploading. I've found ready source codes and tried run them in localhost, but neither of them work succesfully. For example this code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Net.Mail; namespace sendEmail { public partial class _default : System.Web.UI.Page {

Jenkins SMTP TLS

匿名 (未验证) 提交于 2019-12-03 00:50:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to setup Jenkins to use our company's SMTP server to email build notifications. We are using TLS as the encryption method on port 587. I can not seem to get the email notification to work properly though. Here is my Hudson.Tasks.Mailer.xml file so you can see my config (I've removed the SMTP auth user and password and changed the smtpHost slightly just in case) http://localhost:8080/ $ pod#####.outlook.com true 587 UTF-8 It looks like this is a known issue, from http://issues.hudson-ci.org/browse/HUDSON-2206 I am not very familiar