Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Recently I received an Email, obviously sent by a Bot without a From and TO address . All the Email API's I've worked required at least the from address and To address

So i really don't know how the following happened

alt text

How is that possible How can someone or (some Bot) send an email with literally no From and To Addresses

(if you cant see the image: it is a screen shot showing the "From" and "TO" addresses being literally blank)

Are there any API that allow this functionality

I've even Checked the Mail header its says

From nobody Thu Jan 28 13:02:14 2010
X-Apparently-To: via; Thu, 28 Jan 2010 05:09:14 -0800 Return-Path:


share|improve this question

migrated from Jan 31 '10 at 11:53

This question came from our site for professional and enthusiast programmers.

Image isn't working – driis Jan 30 '10 at 18:02
@driis give it a little time.... – Vivek Bernard Jan 30 '10 at 18:04
You might want to mask your e-mail above :) – Kordonme Jan 30 '10 at 18:06
@Kordonme I would, but it is already filled with crap :) – Vivek Bernard Jan 30 '10 at 18:14
And this is programming-related, how...? – Aaronaught Jan 30 '10 at 18:29
up vote 3 down vote accepted

Have a look at :

The sender can put anything he wants in the To and From headers. The SMTP server will deliver to the address defined with RCPT TO command. If your spam filter or mail server doesn't block it, it will get delivered.

share|improve this answer

You can enter what you want in the From: field of an e-mail. Most SMTP libraries should support this.

share|improve this answer
You mean I never need to specify From and to addresses – Vivek Bernard Jan 30 '10 at 18:04
No. I mean you can specify whatever you like. :) – Håvard S Jan 30 '10 at 18:10

It is probably possible to write an email like this in code although I have never tried it. You can also talk to email servers directly and create email on them using telnet. There are many examples on the web, one is here.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .