Nov 8, 2009
Pages: 1, 2

Send Email Remotely

free web hosting

Read Latest Entries..: (Post #14) by Eggie on Sep 22 2008, 12:04 AM.
any other ways?
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting

Send Email Remotely

Eggie
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

Comment/Reply (w/o sign-up)

yordan
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.

 

 

 


Comment/Reply (w/o sign-up)

Eggie
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?

Comment/Reply (w/o sign-up)

yordan
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

Comment/Reply (w/o sign-up)

Lancer
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
&

Comment/Reply (w/o sign-up)

Eggie
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

Comment/Reply (w/o sign-up)

yordan
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

Comment/Reply (w/o sign-up)

Eggie
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.)

Comment/Reply (w/o sign-up)

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


Comment/Reply (w/o sign-up)

Lancer
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.......???

Comment/Reply (w/o sign-up)

Latest Entries

Eggie
any other ways?

Comment/Reply (w/o sign-up)

actuary
QUOTE(Eggie @ Sep 11 2008, 02:29 PM) *
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


I once used "BSMTP.DLL" which can be downloaded in
http://www.hi-ho.ne.jp/babaq/basp21.html

The usage is in
http://www.hi-ho.ne.jp/babaq/vbtips.html

These 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.

Comment/Reply (w/o sign-up)

Eggie
bump...

Comment/Reply (w/o sign-up)

Lancer
In my case I'm running Linux, not Windows, so how do I configure sendmail to reach beyond local on Linux?

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2
Similar Topics

Keywords : Email Remotely


    Looking for send, email, remotely

See Also,

*SIMILAR VIDEOS*
Searching Video's for send, email, remotely
advertisement



Send Email Remotely

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com