Welcome Guest ( Log In | Register )



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Send Email Remotely
Eggie
post Sep 11 2008, 02:29 PM
Post #1


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 177
Joined: 19-January 08
From: Zagreb/Croatia
Member No.: 27,735



i want to know how can i send email with a program(invisibly)...i want to create it but i dont know how
u can contact me on MSN
jurica666@hotmail.com

This post has been edited by Eggie: Sep 11 2008, 02:30 PM
Go to the top of the page
 
+Quote Post
yordan
post Sep 11 2008, 03:41 PM
Post #2


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,242
Joined: 16-August 05
Member No.: 7,896
myCENTs:56.55



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, look
This mail is sent unattended
wow
!

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.
Go to the top of the page
 
+Quote Post
Eggie
post Sep 11 2008, 05:50 PM
Post #3


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 177
Joined: 19-January 08
From: Zagreb/Croatia
Member No.: 27,735



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?
Go to the top of the page
 
+Quote Post
yordan
post Sep 12 2008, 10:30 AM
Post #4


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,242
Joined: 16-August 05
Member No.: 7,896
myCENTs:56.55



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
Go to the top of the page
 
+Quote Post
Lancer
post Sep 12 2008, 11:20 AM
Post #5


Member - Active Contributor
Group Icon

Group: [HOSTED]
Posts: 84
Joined: 30-July 08
From: New Zealand
Member No.: 31,753
myCENTs:34.53



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...
QUOTE
New mail has arrived.
&
From: Mail Delivery System <Mailer-Daemon@lance-laptop>
To: lancer@lance-laptop
Subject: Mail delivery failed: returning message to sender
Date: Fri, 12 Sep 2008 22:32:44 +1200

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. 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 +1200
To: <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 +1200

Hi, man, look
This mail was sent unattended
wow
&
Go to the top of the page
 
+Quote Post
Eggie
post Sep 12 2008, 12:33 PM
Post #6


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 177
Joined: 19-January 08
From: Zagreb/Croatia
Member No.: 27,735



but i need it to do it invisibly...so u dont have to type anything
it must send text file on every PC startup without informing you..

for home use
Go to the top of the page
 
+Quote Post
yordan
post Sep 12 2008, 02:52 PM
Post #7


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,242
Joined: 16-August 05
Member No.: 7,896
myCENTs:56.55



QUOTE(Eggie @ Sep 12 2008, 02:33 PM) *
but i need it to do it invisibly...so u dont have to type anything
it must send text file on every PC startup without informing you..

for home use

My 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 :
QUOTE
Mailing to remote domains not supported

This 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
Go to the top of the page
 
+Quote Post
Eggie
post Sep 12 2008, 09:17 PM
Post #8


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 177
Joined: 19-January 08
From: Zagreb/Croatia
Member No.: 27,735



ok...i noticed that u can send email with batch file
can someone pls try it with my mail,tell me the results and paste script?
mail:pikicko@gmail.com
pass:jajetic12

(Google Gmail Outgoing Mail Server (SMTP): smtp.gmail.com
The 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.)
Go to the top of the page
 
+Quote Post
magiccode9
post Sep 13 2008, 01:22 AM
Post #9


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 123
Joined: 7-November 05
Member No.: 9,489



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.

CODE
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,



This post has been edited by magiccode9: Sep 13 2008, 01:36 AM
Go to the top of the page
 
+Quote Post
Lancer
post Sep 13 2008, 08:59 AM
Post #10


Member - Active Contributor
Group Icon

Group: [HOSTED]
Posts: 84
Joined: 30-July 08
From: New Zealand
Member No.: 31,753
myCENTs:34.53



QUOTE(yordan @ Sep 13 2008, 02:52 AM) *
The main problem I see is coming from the following message you received :
QUOTE
Mailing to remote domains not supported

This 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.......???
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Fast ReplyReply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Code To Send An Email From A Form(10)
  2. How Do You Validate Email Addresses?(11)
  3. Send Mail Through Outlook Express(7)
  4. How To Send Email Using VB (using SMTP) ?(8)
  5. Funny Email Quizzes(5)
  6. Failed Sending Email :: PHP ::(8)
  7. Create And Email PDF File 'On The Fly' With PHP(1)
  8. iPod Help(8)
  9. Imho, You'll Be Rotfl!(12)
  10. Free Email Forwarding Service?(5)
  11. Want To Create A Community Website(4)
  12. Dell Computer "shuts Down" When Opening Email(31)
  13. Php Send Mail Through Smtp(8)
  14. Best Email Client For Gmail(10)
  15. How Do I Send SMS To Mobiles Through My Site(9)
  1. Send Php Variable To Javascript(5)
  2. What Email Client?(10)
  3. Help - Setting Up Email(9)
  4. Make A Wish And It'll Come True...if....(8)
  5. Filtering Out Unwanted Junk Mail Using Regular Expression.(0)
  6. Email Problems(5)
  7. Friends Can't Start The Exe Files I Send :((5)
  8. Php Location Header No Send Session Id ?(0)
  9. Email Certificate Issue(0)
  10. Free Disposable Temporary Email(3)
  11. Email Server / Cpanel Problems(1)
  12. In Php- How To Send Mail From Localhost To Web Mail Server(0)
  13. Email Solutions(1)


 



- Lo-Fi Version Time is now: 5th December 2008 - 12:08 PM