[ale] Sending mail in perl

Geoffrey esoteric at 3times25.net
Sun May 4 23:25:44 EDT 2003




Christopher Fowler wrote:
> Dos it require an SMTP server.  I noticed you hava a $smtp variable.

Yeah, I'm afraid so.

> 
> If you were to send an email to me at cfowler at opsup.com, I assume the 
> code would need to get the MX record from DNS in order to connect directly
> to my email server.

That would be accurate as well.

> 
> Chris
> 
> On Sun, May 04, 2003 at 07:59:14PM -0400, Geoffrey wrote:
> 
>>I've attached a small perl script that is the remants of a script we 
>>used to use to send email from perl.  Make sure you change the sender 
>>addr, as I believe it's George Washington as it was last used to prove 
>>to someone how easy it is to spoof an email address.   Have fun.
>>
>>Christopher Fowler wrote:
>>
>>>I'm using 'Net::SMTP' but it requires a relay host.  I would like
>>>a way in perl to send mail as if I were the relay host.  If I
>>>provide a 'user at domain.com' then the perl script will lookup the
>>>MX of 'domain.com' and then communicate to it as if it were the smtp
>>>server of the sender.  Is there a module that implements this 
>>>functionality?
>>>
>>>
>>>Thanks,
>>>Chris
>>>_______________________________________________
>>>Ale mailing list
>>>Ale at ale.org
>>>http://www.ale.org/mailman/listinfo/ale
>>>
>>>
>>
>>-- 
>>Until later: Geoffrey		esoteric at 3times25.net
>>
>>The latest, most widespread virus?  Microsoft end user agreement.
>>Think about it...
> 
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 
> 

-- 
Until later: Geoffrey		esoteric at 3times25.net

The latest, most widespread virus?  Microsoft end user agreement.
Think about it...

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list