Eggie 0 Report post Posted September 11, 2008 (edited) i want to know how can i send email with a program(invisibly)...i want to create it but i dont know howu can contact me on MSNjurica666@hotmail.com Edited September 11, 2008 by Eggie (see edit history) Share this post Link to post Share on other sites
yordan 10 Report post Posted September 11, 2008 Looks like you want to create a tool for spamming. I hope not, because this would be against our forum rules.If you want to do this for a honest purpose, please give us some more infos.For instance, how do you want to do it ?Unix and Linux command-line shell can do it easily.Simply try this CONSOLE mail jurica666@hotmail.com <<!Hi, man, lookThis mail is sent unattendedwow!This tells Unix to send a mail to jurica666. The mail text is between the leading <<! and the end-of-task symbol "!"So, first of all try this, it should work. If it does not work, this simply means that your Linux mailing system has a configuration problem.If this works, simply put these commands in a script named "brol.sh" and run it.Then you can improve the things by mean of giving an argument, and then fire it from a list of destination mails. Share this post Link to post Share on other sites
Eggie 0 Report post Posted September 11, 2008 no ...im not trying to create spamming program...im trying to make an application which just sends text file....like.... i set it to send now and when computer starts again...so it would have to be one of the programs which starts up with OS(win XP)...u got the idea? Share this post Link to post Share on other sites
yordan 10 Report post Posted September 12, 2008 OK, now we have one part of the info : 1) You want a message to be sent by mail to a single person.2) It's a Microsoft Windows XP machine.Next question : is it for your home or is it for professional purposes ? (Which means can you buy something).My script still works, but, unlike Linux, Windows does not have a built-in mailer.So, let's first have goggling time to see if there is a free version of mailx for windows. Unless somebody here on the forum already has it.Yordan Share this post Link to post Share on other sites
Animator 0 Report post Posted September 12, 2008 I tried your technique but the email did not get through with "Mailing to remote domains not supported" error.My mail command shows a new message like so... New mail has arrived.& From: Mail Delivery System <Mailer-Daemon@lance-laptop>To: lancer@lance-laptopSubject: Mail delivery failed: returning message to senderDate: Fri, 12 Sep 2008 22:32:44 +1200This message was created automatically by mail delivery software.A message that you sent could not be delivered to one or more of itsrecipients. This is a permanent error. The following address(es) failed: lancer@myemail.com Mailing to remote domains not supported------ This is a copy of the message, including all the headers. ------Return-path: <lancer@lance-laptop>Received: from lancer by lance-laptop with local (Exim 4.69) (envelope-from <lancer@lance-laptop>) id 1Ke5x3-0003X5-SM for lancer@myemail.com; Fri, 12 Sep 2008 22:32:33 +1200To: <lancer@myemail.com>X-Mailer: mail (GNU Mailutils 1.1)Message-Id: <E1Ke5x3-0003X5-SM@lance-laptop>From: Lance Flavell <lancer@lance-laptop>Date: Fri, 12 Sep 2008 22:32:33 +1200Hi, man, lookThis mail was sent unattendedwow& Share this post Link to post Share on other sites
Eggie 0 Report post Posted September 12, 2008 but i need it to do it invisibly...so u dont have to type anythingit must send text file on every PC startup without informing you..for home use Share this post Link to post Share on other sites
yordan 10 Report post Posted September 12, 2008 but i need it to do it invisibly...so u dont have to type anythingit must send text file on every PC startup without informing you..for home useMy trick will work invisibly : once a script is able to work, then this script can be put in c:\autoexec.bat or in the other Windows auto-start features.The main problem I see is coming from the following message you received : Mailing to remote domains not supportedThis means that sendmail is not fully installed on your PC. It works, but locally only, it has to be configured in order to mail to remote domains.Yordan Share this post Link to post Share on other sites
Eggie 0 Report post Posted September 12, 2008 ok...i noticed that u can send email with batch filecan someone pls try it with my mail,tell me the results and paste script?mail:pikicko@gmail.compass:jajetic12(Google Gmail Outgoing Mail Server (SMTP): smtp.gmail.comThe Gmail SMTP server requires authentication (use the same settings as for the incoming mail server)The Google Gmail SMTP Server requires an encrypted connection (SSL) on port 465.) Share this post Link to post Share on other sites
magiccode91405241511 0 Report post Posted September 13, 2008 (edited) HI, Â Â OK, let's assume you can install some apps on a windows xp computer and because I forget how cdonts or cdo2000 work. So, instead, you can install php command line tool and php mailer. And then configure it to send mail by local group policy object. Â Script Part Create a php script file that call php mailer and send the mail you needed. ( for how php and php mailer works, please check the php and php mailer documentation ) Â Configure Part 1.) Install php and php mailer as usual. 2.) click start -> run -> gpedit.msc 3.) user configuration -> windows settings ->scripts (Logon / Logoff) 4.) double-click the logon entry 5.) type in the script name and the path. Â c:\php\php.exe [script-to-send-mail] So, every time users logon to the computer.The mail will get sent. ( for dial-up, please use with rasdial.exe [dial-up-profile]) Â P.S. You may also put all things in a batch file. Â I don't recommended to use the build-in mail function because it might not work as expected on some machine or system as this is reported by many users. Â Please let me know if it is work for you ! Â Thanks, Â Edited September 13, 2008 by magiccode9 (see edit history) Share this post Link to post Share on other sites
Animator 0 Report post Posted September 13, 2008 The main problem I see is coming from the following message you received : Mailing to remote domains not supportedThis means that sendmail is not fully installed on your PC. It works, but locally only, it has to be configured in order to mail to remote domains.And to configure it I need to.......??? Share this post Link to post Share on other sites
yordan 10 Report post Posted September 15, 2008 You first need to have sendmail for windows, I have found one here : http://glob.com.au/sendmail/ I will try it and see how to configure it, should be simple : copy sendmail.exe and sendmail.ini to \usr\lib on the drive where the unix application is installedeg. if your application is installed in c:\bugzilla, sendmail.exe and sendmail.ini need to be copied to c:\usr\lib\sendmail.exe and c:\usr\lib\sendmail.ini. configure smtp server and default domain in sendmail.ini Share this post Link to post Share on other sites
Animator 0 Report post Posted September 15, 2008 In my case I'm running Linux, not Windows, so how do I configure sendmail to reach beyond local on Linux? Share this post Link to post Share on other sites
Eggie 0 Report post Posted September 15, 2008 bump... Share this post Link to post Share on other sites
actuary 0 Report post Posted September 16, 2008 i want to know how can i send email with a program(invisibly)...i want to create it but i dont know howu can contact me on MSNjurica666@hotmail.com I once used "BSMTP.DLL" which can be downloaded inhttp://www.hi-ho.ne.jp/babaq/basp21.htmlThe usage is inhttp://www.hi-ho.ne.jp/babaq/vbtips.htmlThese are japanese site and of course I know you can not read Japanese.But I believe you can use it only if you follow English parts. Share this post Link to post Share on other sites
Eggie 0 Report post Posted September 22, 2008 any other ways? Share this post Link to post Share on other sites