Open relay python
<pre><code>#!/usr/bin/python

import smtplib

message = """From: Test &lt;test@fromdomain.com&gt;
To: test&lt;test@todomain.com&gt;
Subject: SMTP test

This is test

"""

try:
   smtpObj = smtplib.LMTP('exhange.intranet',25)
   smtpObj.sendmail(sender, receivers, message)         
   print "Successfully sent email"
except SMTPException:
   print "Error: unable to send email"
</code></pre>

<p>Hello basiclly im testing open relay server and here is question is there other method to send mail without any authetication than LMTP ?How i can implement this with SMTP which paramter is that ? </p>

<p>Sending a mail with only smtp is getting blocked on exhange easyli, there must be included NOT authetication information for exhange to pass it through. </p>