You can send mail using PHP's mail() function.
On windows this works with regular SMTP (mail server),
on UNIX it executes a binary (local delivery agent) that
may handle the message as desired.
If you really want to sent through a telnet service, you can
fsockopen() to the telnet server and regular file functions
to send login stuff and run the appropiatemail software on
the server ('sendmail'?).
Ofcourse this is not recommended, because it has unnecessary
overhead and you'd be better off using an SMTP script or class
(as noted before) or make one yourself according to the 'SMTP RFC'
(put that in google).
bvr.
On Fri, 22 Feb 2002 09:47:08 +0530 (IST), Uma Shankari T. wrote:
>
> Hello,
>
>
> By using telnet option how i will send a mail from my machine using
> php..If any one came to know this plz tell me how to do it...
>
>
>-Uma
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php