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

Error sending email

I created a simple application at: graficaromana.com.br In the contact form (http://graficaromana.com.br/Contato) when I try to send an email I get an error. Locally the mail is sent normally without any error. Is there some setting I have to do on…
ridermansb
  • 10,779
  • 24
  • 115
  • 226
0
votes
1 answer

PHP mail replaces explicit from sender@example.com with local hostname

I am currently having a struggle sending an email from PHP: $header = "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/html; charset=utf-8\r\n"; $header .= "From: jan@example.com\r\n"; $header .= "Reply-To: jan@example.com\r\n"; $header .=…
fogbreaker
  • 31
  • 1
  • 4
0
votes
2 answers

what's sendmail equivalent in JSP?

I'm trying to send an email out in JSP, but it looks like I have to set SMTP server manually unlike PHP (PHP uses sendmail). What options do I have with JSP?
Moon
  • 22,195
  • 68
  • 188
  • 269
0
votes
1 answer

Laravel : Getting memory error while sending mail (Allowed memory size of 268435456 bytes exhausted)

I am very new to PHP/LARAVEL development trying to develop 1 application to send the email from smtp.gmail.com. I am getting error as [ [Tue Jan 11 17:11:32.765352 2022] [php:error] [pid 21752:tid 1952] [client ::1:56549] PHP Fatal error: Allowed…
Abhi
  • 1
0
votes
1 answer

SQL*Plus Send automatic email to the personal table

I want to create a trigger to send automatic emails to the mail addresses on personal table when there is a change on the other table like 'city' on SQL*Plus. But I could not find a way to create this trigger, could you please help me?
Ozgeozcn
  • 9
  • 3
0
votes
1 answer

Form fails to send mail

I'm trying to determine why we're not receiving mail from our website forms. There was a change in ownership at our hosting company, the forms stopped working, and the new management seems clueless. There is no error log and no php.ini file in the…
webguy
  • 664
  • 10
  • 27
0
votes
1 answer

send_mail Django send as alias email

I'm solving problem, that of course I'm sending an email like sender email, which I authenticated in settings.py, but what if I want to send and email as request.user.email alias? send_mail("Hello", "hello", settings.EMAIL_HOST_USER,…
forcen4
  • 19
  • 3
0
votes
1 answer

Attaching a csv/pdf file with sendmail functionality in python to run on linux box

My python script runs on linux server and here is the code that works to send email. But I need to attach a csv/pdf in the email and I couldn't find any straight answer. my email sending method is as shown below def send_message(recipient, subject,…
viki
  • 165
  • 2
  • 11
0
votes
1 answer

FileNotFoundError: [Errno 2] No such file or directory in Django

I'm working on a Django project where I need to send a file to the client via my system by email. But when I put the file name in the attach_file() field, I get the error of not finding the file. This is my code: def email_sender(request): if…
0
votes
1 answer

Sending mail through the loop sends multiple mails at same address

I am trying to send e-mail to candidates that applied for the job, sometimes I have few hundreds or even thousand mails to send, so code would be a help. This is the one I wrote, but the problem is that mail is sent multiple times on same address…
Jovica
  • 450
  • 9
  • 32
0
votes
1 answer

Laravel sendmail: 221 2.7.0 Error: I can break rules, too. Goodbye

I would like to send emails through a contact form in my Laravel 8 application. In my local instance everything works fine. When I upload it to the web server I receive the following error: 221 2.7.0 Error: I can break rules, too. Goodbye. See…
eljulio
  • 49
  • 1
  • 8
0
votes
1 answer

Appscript Send Email Attachment Image

I use this code to send an email with an attachment, and it works perfectly! However, I can only attach .PDF file How could I allow image attachment? Thanks anyone who can help. function sendEmails() { const ss = SpreadsheetApp.getActive(); …
0
votes
1 answer

(421, b'Cannot connect to SMTP server, connect error 10061')

I'm trying to send an actual email to myself from my website using send_mail. I had used localhost and the following cmd command, python -m smtpd -n -c DebuggingServer localhost:1025 in order to test it. It intercepts with no problem, but I don't…
Badabuska
  • 1
  • 2
0
votes
0 answers

Remote host forcibly terminated existing connection

I'm trying to send an actual email to myself from my website using send_mail. I had used localhost and the following cmd command, python -m smtpd -n -c DebuggingServer localhost:1025 in order to test it. It intercepts with no problem, but I don't…
Badabuska
  • 1
  • 2
0
votes
3 answers

Sending an e-mail with php

I'm trying to write a very simple php code that sends an e-mail to a given address. I have this code: Instead of 'address@server.com' I've used my own e-mail. I´ve…
deps_stats
  • 254
  • 1
  • 2
  • 11