|
Answer» so i know it is possible but i cannot remember, how do you send an email in dos? all HELP is appreciated and thank you in advance! =DI don't THINK Windows has that functionality built-in. I always use a free program called blat if I need scripts to send e-mails. Windows has that functionality but it depends on whether you are a die hard DOS fan. you can use Outlook to send mail using vbscript Code: [Select]On Error Resume Next RCP = "emailaddress" SUB = "subject" MSG = "message" Set Outlook = CreateObject("Outlook.Application") Set MAPI = Outlook.GetNameSpace("MAPI") Set NewMail = Outlook.CreateItem(0) NewMail.Subject = SUB NewMail.Body = MSG NewMail.Recipients.Add RCP MAPI.Logon "profile", "password" NewMail.Send MAPI.Logoff this is just one way.I 'd recommend blat. Its an easy to use commandline tool available for windows. Just google for a DOWNLOAD source.
-uliI think telnet can send an email but I haven't got it to work.... On Google, type "How to send email using telnet?"Cabon
Yes telnet does send and i use it always wen in class to chat wit girls. Quote from: Carbon Dudeoxide on July 20, 2007, 02:24:22 AM I think telnet can send an email but I haven't got it to work.... On Google, type "How to send email using telnet?"
can you show OP how to do it programmatically. ie in a batch file.Not me, I can't get it to work/I dunno how to do it.
Maybe Shynnie knows.
|