Questions tagged [sendmail]

DO NOT use as a general tag for sending email. This is about "sendmail", the general purpose email routing facility that supports mail transport via TCP/IP using SMTP

sendmail is a popular Unix-based email routing facility that makes use of and supports the transfer and delivery of email via the Simple Mail Transfer Protocol (SMTP).

sendmail exists both as free and open source software and as a commercial project, called Sendmail.

Tag usage

The tag sendmail can be used for all programming related problems. The tag can also be used for setting up a simple mail server. Please note that https://serverfault.com/ is another Stack Exchange website where you can ask especially configuration specific problems.

2991 questions
0
votes
1 answer

How to sent an email background with Swift code (macOS)

this code works fine but it pops a window, then have to click send. Can I send it in the background without pops a window? Thank everybody! import Cocoa class SendEmail: NSObject { static func send() { let service =…
0
votes
1 answer

Send email connection refused

I have an application that worked perfectly until this Saturday. Every time I try send an email I receive the error "ExtendedSocketException: Connection refused [::ffff:xxx.xxx.xxx.xxxx]:25". I tried with 465 port but no solve the problem and it's…
0
votes
1 answer

Laravel 8 Send Mail by Gmail get stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Connection timed out)

I have tried send mail by MAIL_PORT=587 MAIL_ENCRYPTION=tls AND MAIL_PORT=465 MAIL_ENCRYPTION=ssl And I allow the option "less secure app" But always get this notification: Connection could not be established with host smtp.gmail.com…
Han Hsu
  • 3
  • 2
0
votes
1 answer

I am trying to send emails through gmail host by using google oauth 2.0, where to use the access code instead of user password to send emails

I am trying to send emails through gmail host by using google oauth 2.0, I am confused where to use the access code instead of user password to send emails, this code is used to open up the consent screen and ask for permissions, Dim Googleurl =…
0
votes
1 answer

5.5.1 501 Error, Can't Send Mail

In the last 4 days, my mail server cant send mail to some domains. I receive these errors: (abc (at) aygaz.com.tr), Result: failed, Status: 5.5.1 501 Syntax error in command parameter(s) Domain name expected (abc (at) total.com.tr), Result: failed,…
Faruk KAHRAMAN
  • 69
  • 1
  • 2
  • 11
0
votes
2 answers

Create mailing list for sendmail

I would like to create a list of emails, which are listed in the column of a sheets. how can I do this? example: column A email 1 email 2 email 3 mailling = column A MailApp.sendEmail({ to: mailling, subject: "test", body: "Test…
0
votes
0 answers

How to create a mail with TSendMail?

In a Delphi 10.4.2 VCL Application in Windows 10, I followed the TSendMail example here: http://docwiki.embarcadero.com/CodeExamples/Sydney/en/TSendMail_(Delphi) ... to create a InternetSendMail1 action in the ActionList. But when I execute this…
user1580348
  • 5,721
  • 4
  • 43
  • 105
0
votes
0 answers

Reliable email sending from Python

I have a program of mine I've been using for over a year which involves the some sending of emails (or texts, via the email address method, eg. 1234567890@vzwpix.com). Here's some code for one of the methods, sending emails via Yahoo's STMP server…
Rex
  • 21
  • 2
0
votes
1 answer

Issue with using django celery when django signals is being used to sent email?

I have used the default Django admin panel as my backend. I have a Blogpost model. What I am trying to do is whenever an admin user saves a blogpost object on Django admin, I need to send an email to the newsletter subscribers notifying them that…
Reactoo
  • 916
  • 2
  • 12
  • 40
0
votes
2 answers

Send email with attachment 'is not a function error'

I would like help to resolve the error when executing this function. file.next is not a function error function myFunction() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheet_bd = ss.getSheetByName('BD'); var numRows =…
0
votes
0 answers

The contents of text attachment is Blank when sending mail using sendmail function unix

ATTACHMENT=file_list.txt smail() ( echo "To: XXXXX@domain.com" echo "Subject:abc" echo "From: XXXXX@domain.com" echo "MIME-Version: 1.0" echo "Content-type: multipart/mixed; boundary="simple boundary"" echo "--simple boundary" echo…
nandha kumar
  • 303
  • 3
  • 8
0
votes
2 answers

Can not send mail via SMTP yandex error 553

Setting up sending mail via smtp. private String mailhost = "smtp.yandex.ru"; private String user; private String password; private Session session; public static final String TAG = "GMailSender: "; static { Security.addProvider(new…
Ксения
  • 67
  • 1
  • 8
0
votes
3 answers

TypeError: send_mail() missing 3 required positional arguments: 'message', 'from_email', and 'recipient_list'

so I'm wanting to make this form where the client fills their name, email and a message. Then that message and their name is sent to my mail address and another mail is sent from my address to the clients one telling that their mail was sent…
Enmanuel V
  • 31
  • 1
  • 5
0
votes
0 answers

How to create a file and attach it email?

I'm trying to send an email via my app (using react and node). My problem is how to attach file to the message? I need first to create a file and then to attach it, but no need to save it only to send. By searching I found only approach which assume…
R H
  • 667
  • 1
  • 6
  • 16
0
votes
1 answer

Sending Mail in django

I am facing a problem when trying to test sending a message from the django app . The problem is that no messages arrive on my email after sending and I don't know what is the reason, please help this is my settings : EMAIL_BACKEND =…
1 2 3
99
100