yuyugs84 Posted May 27, 2005 Share Posted May 27, 2005 Salut tt le monde voilà j'ai un GRRROOOSSS problème... Je suis sur un serveur win 2003 et je dois pouvoir envoyer des mails en ligne de commande : interdiction d'utiliser outlook...ni shareware ou autre... Je cherche donc une solution en passant par Telnet ou un script windows mais je n'y connait RIEN !!! Quelqu'un a t'il une solution à me proposer ??? Merci à tous ceux qui me viendront à l'aide... et aux autres... Link to comment Share on other sites More sharing options...
MatthieuF Posted May 27, 2005 Share Posted May 27, 2005 http://www.google.fr/search?hl=fr&q=telnet...ta=lr%3Dlang_fr Link to comment Share on other sites More sharing options...
Chimayscripteur Posted May 27, 2005 Share Posted May 27, 2005 Tu peux y arriver facilement avec le protocole SMTP. Va sur les forums de développement et recherche VBScript ou Jscript (comme tu préfères) + SMTP + Mail Tu trouveras les réponses à tes questions sans problèmes! Link to comment Share on other sites More sharing options...
yuyugs84 Posted May 27, 2005 Author Share Posted May 27, 2005 Aie pour Telnet je viens de regarder et ca va se compliquer... pour envoyer mes mails je n'ai accès à aucun compte smtp... je dois passer par un serveur microsoft exchange... argh... Link to comment Share on other sites More sharing options...
Chimayscripteur Posted May 27, 2005 Share Posted May 27, 2005 C'est pas un problème! J'ai réussi facilement à passer via Exchange sans compte! Look at this: Option Explicit Dim objEmail Set objEmail= CreateObject("CDO.Message") With objEmail .From = "bidon@grosland.com" .To = "john.doe@nomansland.com" .Subject = "Aucun" .Textbody = "See U next time" .Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 .Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "DNS d'exchange" .Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 .Configuration.Fields.Update .Send End With Cuilà c'est la version via CDO! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.