Skip to main content

Questions tagged [email]

Sending, receiving, reading, composing, sorting, and generally working with email. For the mail(1) command line utility, see the tag /mail-command.

56 votes
8 answers
80k views

Lightweight outgoing SMTP server

What do you use as a lightweight SMTP for outgoing e-mails only? I am running an app that sends e-mails via SMTP when events occur once in a while, and I don't need a fully featured e-mail server. ...
FlappySocks's user avatar
83 votes
9 answers
249k views

How do I send HTML email using linux 'mail' command?

mail -s "subject" [email protected] <test.html works, but only for plain text email. What is the correct way to send HTML email using the Linux command mail?
pyth0ner's user avatar
  • 931
105 votes
6 answers
380k views

Can I set up system mail to use an external SMTP server?

Is it possible to set up system mail on a linux box to be sent via a different smtp server - maybe even with authentication? If so, how do I do this? If that's unclear, let give an example. If I'm at ...
cwd's user avatar
  • 45.7k
53 votes
6 answers
35k views

Gmail blocking mutt

When I try to log in to gmail with mutt, it flashes a quick Webalert with a url, something like accounts.gmail.com or something. It's too quick for me to see or copy it. Then it says Login failed. ...
aharris88's user avatar
  • 1,121
95 votes
4 answers
269k views

How do I completely silence a cronjob to /dev/null/?

On my Ubuntu-Desktop and on my debian-server I have a script which needs to be executed each minute (a script that calls the minute-tic of my space online browsergame). The problem is that on ...
rubo77's user avatar
  • 29.4k
58 votes
2 answers
143k views

Understanding /etc/aliases and what it does

This is the contents of the file /etc/aliases on my Debian (Wheezy) server, as it is: # /etc/aliases mailer-daemon: postmaster postmaster: root nobody: root hostmaster: root usenet: root news: root ...
its_me's user avatar
  • 14.2k
52 votes
6 answers
47k views

How to remove "You have mail" welcome message

When I open up my terminal it says "you have mail", anyone has any idea of why? I am running OS X, but since it too is based on Unix and relies on files such as bashrc, bash_profile etc. I thought ...
user avatar
23 votes
1 answer
43k views

Difference between mail and mailx? [duplicate]

Whats the difference between mail and mailx? I'm trying to troubleshoot a problem where I can send mail from server A with this echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS command but ...
Rhyuk's user avatar
  • 1,125
18 votes
5 answers
37k views

How can I send attachment with ssmtp in Linux?

I can send email from my gmail account by ssmtp in Linux now. But how can I attach files to the email?
deepsky's user avatar
  • 433
12 votes
3 answers
11k views

Simplest way of forwarding all mail from server? [duplicate]

Possible Duplicate: Lightweight outgoing SMTP server I am looking for a minimal mail solution (MTA) for a headless server which generate e-mails for local users and and fully qualified addresses ...
Janus's user avatar
  • 1,563
10 votes
1 answer
18k views

Automatically detect when a file has reached a size limit

I would like to send an email when a file reach a certain size limit. The only way I thought of doing this is by doing a cronjob which will check the file size and send the email if the file is ...
Jean-François Savard's user avatar
8 votes
1 answer
5k views

How to set up local mail retrieval and delivery?

$ mail No mail for lazer $ I am able to send mails using mail. I have unread mails in my inbox as I can see in Outlook. Why doesn't mail show me my mails? How can I make mail fetch them?
Lazer's user avatar
  • 35.6k
6 votes
3 answers
4k views

What is the MIME equivalent of uuencode for sendmail?

e.g., I've got files I want to send by sendmail but the receiving mailbox (for posting pictures to my blog) will not accept uuencode files a la $uuencode file | sendmail user@domain I'm guessing it'...
ixtmixilix's user avatar
  • 13.3k
5 votes
2 answers
30k views

Email using shell script

Is there a possibility to add multiple e-mails to a single variable so that when the shell script is run, it sends a mail to all the specified emails?
Madhuri's user avatar
  • 51
5 votes
2 answers
9k views

Simplest way to send mail with image attachment from command line using gmail?

Building on the previous post where the requirement was to have cron jobs send status messages via a single command line, as posted here: Simplest way to send one-line mail out via command line using ...
SDsolar's user avatar
  • 1,869

15 30 50 per page
1
2 3 4 5
8