Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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:
vivek_bluestar@yahoo.co.in via
203.104.17.150; Thu, 28 Jan 2010 05:09:14 -0800 Return-Path:

X-YMailISG:

share|improve this question

migrated from stackoverflow.com 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
1  
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
show 1 more comment

3 Answers

up vote 3 down vote accepted

Have a look at :

http://db.ilug-bom.org.in/lug-authors/philip/docs/mail-stuff/smtp-intro.html

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.