Forum Moderators: coopster & phranque

Message Too Old, No Replies

How can I send mail by SMTP?

my hosting is not allow to use sendmail.

         

dogdoy

6:01 pm on Apr 9, 2004 (gmt 0)



How can i write the script to use SMTP to send mail?

Please help me. Thank you.

Hissingsid

4:24 pm on Apr 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

Take a look at the Net::SMTP module.

Since your hosting company is unhelpful you may need to install the module on your own space. How to here [support.discusware.com...]

Just think of a module as a library of reusable code which you have access to in your scripts by inclusion or requirement. Read the docs for Net::SMTP.

Best wishes

Sid

sun818

4:53 pm on Apr 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I use telnet mail.yourserver.com 25 for testing purposes...