Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Sending mail from perl script

by sabari (Beadle)
on May 01, 2010 at 06:28 UTC ( #837904=note: print w/ replies, xml ) Need Help??


in reply to Sending mail from perl script

my suggestion is do some work around in Telnet modules ( my self needs to test this ,but i have tested in manual telnet command todo listing of mails etc .. )

Best Regards, S.Sabarinathan,


Comment on Re: Sending mail from perl script
Replies are listed 'Best First'.
Re^2: Sending mail from perl script
by Anonymous Monk on May 01, 2010 at 06:54 UTC
    Please no. The op wants to avoid installing modules/talking with admin, which is about 100000 times easier than what you suggest, the op just isn't up to it.
Re^2: Sending mail from perl script
by sabari (Beadle) on May 07, 2010 at 07:15 UTC
    Normal Net::Telnet and below Commands can help you post a mail without any other modules . smtp protocol command : http://the-welters.com/professional/smtp.html Testing I did is , put the telnet to my mail server SMTP port Connected to mail.bksys.co.in Escape character is '^]'. 220 mail.bksys.co.in ESMTP Postfix (Debian/GNU) HELO localhost 250 mail.bksys.co.in MAIL FROM:sabarinathan@bksys.co.in 250 2.1.0 Ok RCPT To:sabarinathan@bksys.co.in 250 2.1.5 Ok DATA 354 End data with <CR><LF>.<CR><LF> This is test mail by Telnet via SMTP . 250 2.0.0 Ok: queued as EC1BD1DC002 VRFY sabarinathan@bksys.co.in 252 2.0.0 sabarinathan@bksys.co.in
    Best Regards, S.Sabarinathan,
      Normal Net::Telnet and below Commands can help you post a mail without any other modules .
      smtp protocol command :
      
      http://the-welters.com/professional/smtp.html
      
      Testing I did is ,
      
      put the telnet to my mail server SMTP port
      
      Connected to mail.bksys.co.in
      Escape character is '^]'.
      220 mail.bksys.co.in ESMTP Postfix (Debian/GNU)
      HELO localhost
      250 mail.bksys.co.in
      MAIL FROM:sabarinathan@bksys.co.in
      250 2.1.0 Ok
      RCPT To:sabarinathan@bksys.co.in
      250 2.1.5 Ok
      DATA
      354 End data with <CR><LF>.<CR><LF>
      This is test mail by Telnet via SMTP
      .
      250 2.0.0 Ok: queued as EC1BD1DC002
      VRFY sabarinathan@bksys.co.in
      252 2.0.0 sabarinathan@bksys.co.in
      
      
      
      Best Regards, S.Sabarinathan,

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://837904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2015-07-30 21:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls