smtp

How to use Gmail as your SMTP server for Youtrack?

末鹿安然 提交于 2019-12-03 10:17:55
Youtrack allow to send email through 3rd party SMTP server. Fields are as follows: SMTP host: [?] SMTP port: [?] Mail protocol: [?] SMTP login: [?] SMTP password: [?] Select SSL key: [?] Server 'from' email: [?] Could you provide an example of Gmail or Google apps config ? Here is what I finally did: SMTP host: smtp.gmail.com ; SMTP port: 465 ; Mail protocol: SMTP+SSL ; SMTP login: user@domain.com or user@gmail.com ; SMTP password: ****** ; Select SSL key: No key ; Server 'from' email: user@domain.com . Gmail will ignore the from parameter so I put the same. References Enable IMAP in your

Having trouble with sending an email through SMTP Python

坚强是说给别人听的谎言 提交于 2019-12-03 10:16:54
问题 So I'm trying to send an email through SMTPlib with Python, but I can't get it to work. I read up on the Microsoft SMTP specs, and put them in accordingly, but I can't get it to work. Here is my code: # Send an email SERVER = "smtp-mail.outlook.com" PORT = 587 USER = "******@outlook.com" PASS = "myPassWouldBeHere" FROM = USER TO = ["******@gmail.com"] SUBJECT = "Test" MESSAGE = "Test" message = """\ From: %s To: %s Subject: %s %s """ % (FROM, ", ".join(TO), SUBJECT, MESSAGE) try: server =

Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method

匿名 (未验证) 提交于 2019-12-03 10:10:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Iam using codeigniter I exicuted the code on live server. got the following error using print_debugger() Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method. public function sendEnquiry() { $this->load->library('email'); $name = $this->input->post("fname"); $cemail = $this->input->post("email"); $pno = $this->input->post("phone"); $message = $this->input->post("message"); $config['protocol'] = 'smtp'; $config['smtp_host'] = 'ssl://mail.gatewaykhobar.com'; $config['smtp_port'] = '465';

SMTP not working in CI 3.0 while same code is working in CI 2.*

匿名 (未验证) 提交于 2019-12-03 09:52:54
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This is a big issue i'm struggling with, the thing is our application needs to send email, now we are relying on smtp, until 2.*(latest) email worked fine, but as soon as we ported app in ci 3.0 everything worked by smtp, here is error we are getting on ci 3.0 sample email A PHP Error was encountered Severity: Warning Message: fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdown Filename: libraries/Email.php Line Number: 2131 Backtrace: has nothing, it is shown blank,

node.js email doesn't get sent with gmail smtp

Deadly 提交于 2019-12-03 09:34:48
问题 I'm trying to send the email gmail smtp but I'm getting the error: My email and password is correct I'm using the nodemailer for sending the mail; var nodemailer = require('nodemailer'); // create reusable transporter object using SMTP transport var transporter = nodemailer.createTransport({ service: 'Gmail', auth: { admin: 'myuseremail.com', pass: 'password' } }); var mailOptions = { from: 'sender address', // sender address to: to, // list of receivers subject: 'Password Reset', // Subject

Perl SMTP: can't send email with non-ascii characters in body

匿名 (未验证) 提交于 2019-12-03 09:14:57
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Code, sending email (working good): #!/usr/bin/perl use utf8; use strict; use warnings; use Email::Sender::Simple qw(sendmail); use Email::Sender::Transport::SMTP (); use Email::Simple (); use open ':std', ':encoding(UTF-8)'; sub send_email { my $email_from = shift; my $email_to = shift; my $subject = shift; my $message = shift; my $smtpserver = 'smtp.gmail.com'; my $smtpport = 465; my $smtpuser = 'user@gmail.com'; my $password = 'secret'; my $transport = Email::Sender::Transport::SMTP->new({ host => $smtpserver, port => $smtpport, sasl

Receiving email and downloading attachment through a C# Application

泪湿孤枕 提交于 2019-12-03 09:10:39
问题 I am trying to implement a WPF application which can receive the mails sent to a specific email address. The scenario is that, the user will send a PPT file as an attachment to a specific email address, and my WPF application will listen to this email and once it receives the email, it will download the attached file and saves it to the hard drive. I looked a bit, but all I found was that the System.Net.Mail only supports sending emails through an application using System.Net.Mail.SmtpClient

Yandex smtp settings with ssl

匿名 (未验证) 提交于 2019-12-03 09:06:55
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I can send emails via enableSsl="false" and 25 port. But it is not enought in case with own domain. What is wrong or missing in this settings? <system.net> <mailSettings> <smtp deliveryMethod="Network" from="Name"> <network host="smtp.yandex.ru" port= "465 " enableSsl="true" userName="noreply@domain.com" password="***" /> </smtp> </mailSettings> </system.net> 回答1: using (MailMessage mm = new MailMessage("Name <from@yandex.ru>", "to@site.com")){ mm.Subject = "Mail Subject"; mm.Body = "Mail Body"; mm.IsBodyHtml = false; using (SmtpClient sc =

Mailer Error: SMTP Error: data not accepted

匿名 (未验证) 提交于 2019-12-03 09:05:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to send mail through PHP, so i am using PHPMailer. Don't know why i am getting this error. Mailer Error: SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Relaying not allowed - sender domain not local SMTP code: 530 This is my code. require '../library/PHPMailer/PHPMailerAutoload.php'; $mail = new PHPMailer; $mail->IsSMTP(); //From email address and name $mail->From = "my@email.address"; $mail->FromName = "Full Name"; //To address and name $mail->addAddress("my@email.address", "Recipient Name"); //$mail

Send anonymous mail from local machine

耗尽温柔 提交于 2019-12-03 09:00:34
问题 I was using Python for sending an email using an external SMTP server. In the code below, I tried using smtp.gmail.com to send an email from a gmail id to some other id. I was able to produce the output with the code below. import smtplib from email.MIMEText import MIMEText import socket socket.setdefaulttimeout(None) HOST = "smtp.gmail.com" PORT = "587" sender= "somemail@gmail.com" password = "pass" receiver= "receiver@somedomain.com" msg = MIMEText("Hello World") msg['Subject'] = 'Subject -