Sign in to follow this  
Followers 0
Possessed

need some help

18 posts in this topic

Sup all, Ok I am making a Emailer that sends me info from the persons computer its run on. I am making it for some of my friends that dont know what they are doing so I am help them fix problems they have but. The problem I am having is I can make the info file and get the email sent func to work but i cant get the info from the file to the email. So any help would be awsome or ideas thanks.

Share this post


Link to post
Share on other sites



ummm sounds like a virus to me i wont touch it :-/ why cant they jsut email the problems they have to you themselves....

Share this post


Link to post
Share on other sites

Since your writing a virus figure it out on your own. Everyone knows you are writing a virus and your not going to get any help.


[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Share this post


Link to post
Share on other sites

Since your writing a virus figure it out on your own. Everyone knows you are writing a virus and your not going to get any help.

I am not ok my friend has problems with connections and he lives in the US i live in canada hes not good with computers so i just want to make a little program that will get the right info from him so i can help him thats it the program askes him to put in a email and everything and along with that it tells him its running on the task bar why would i be making a "virus" jess if it going to be that hard to get help then ill take it some where els. being looked at as i hacker when ill i am trying to do is help a friend out.

ps why the hell would i be asking for help if i am making a virus? seems kind of dumb to me

Share this post


Link to post
Share on other sites

check the scripts and scrapts there are acouple of mail funcitons

Share this post


Link to post
Share on other sites

this is what i did :P and i did get a email to come back as a test but i cant seem to get the info file to be read to the email func some how. (Ex: $as_Body[0] = $file ) i know this is wrong but i dont know how to take and read the info file and put into the body of the email if you know what i am saying?

Share this post


Link to post
Share on other sites

explain in english what you want your going from reading a file, to sending a file , to just emailing someone, write in clear english what you want.

Share this post


Link to post
Share on other sites

#include <INet.au3>
#include <GUIConstants.au3>

GUICreate("my gui")  ; will create a dialog box that when displayed is centered
GUISetState (@SW_SHOW) 
;---------------------------------------------------------
Func Start()
    $value = InputBox("Enter Email", "Enter your Email")
    For $i = 1 To $value
        
  next
    
call("Wfile")


Func Wfile()
    $file = FileOpen("C:\info.txt", 1)

 ;Check if file opened for writing OK
If $file = -1 Then
    MsgBox(0, "Error", "Unable to open file.")
    Exit
EndIf
FileWriteLine($file, @IPAddress1) ;for an Ex

FileClose($file)
    
EndFunc


$s_SmtpServer = "mail.yahoomx4.com" ;Edited out 
$s_FromName = "Computer"
$s_FromAddress = $value         ;wont work
$s_ToAddress = "my email"
$s_Subject = "help file"
Dim $as_Body[2]
$as_Body[0] = $file
$as_Body[1] = ""
$Response = _INetSmtpMail ($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body)

this is what i got its really bad i didnt want to show it because i am such a noob anyways i want it to send the info file info to an email that the user puts in. be i cant get it to read the info file to the body of the email. get it??

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

1. your only sending text why attach a file?

2. you had ALOT of stuff you didnt need.

3. IDK anything about SMTP so ill just go with what you had

#include <INet.au3>
$file"C:\info.txt"
FileWriteLine($file, @IPAddress1)
$s_SmtpServer = "mail.yahoomx4.com"
$s_FromName = "Computer"
$s_FromAddress = InputBox("Enter Email", "Enter your Email")
$s_ToAddress = "my email"
$s_Subject = "help file"
$as_Body = FileRead("C:\info.txt")
$Response = _INetSmtpMail ($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body)
Edited by thatsgreat2345

Share this post


Link to post
Share on other sites

my god is it really that easy?

Share this post


Link to post
Share on other sites

ooops forgot an input for the email to send to, but

#include <INet.au3>
$file"C:\info.txt"
FileWriteLine($file, @IPAddress1)
$s_SmtpServer = "mail.yahoomx4.com"
$s_FromName = "Computer"
$s_FromAddress = InputBox("Enter Email", "Enter your Email")
$s_ToAddress = InputBox("Enter Email","Enter Email To Send To")
$s_Subject = "help file"
$as_Body = FileRead("C:\info.txt")
$Response = _INetSmtpMail ($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body)

Share this post


Link to post
Share on other sites

Thank you so much bro lots of help i never new it was this simple :P learn a new thing each day.

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

$file = FileOpen("C:\info.txt", 1)

hey i got mail :P

it was empty though

the rest was good just not the body

Edited by CWorks

Share this post


Link to post
Share on other sites

$file = FileOpen("C:\info.txt", 1)

hey i got mail :P

it was empty though

the rest was good just not the body

Why not use the Remote Assistance thingy built into Xp??


2015 - Still no flying cars, instead blankets with sleeves.

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

hey i'm not the one who needs it so don't quote me

I use ultravnc

I'm just having fun emailing myself :P

actually the best thing is UltraVNC SC because you put your ip in and it connects to you

so even stupid people can can just run it and then your connected

Edited by CWorks

Share this post


Link to post
Share on other sites

hey i'm not the one who needs it so don't quote me

I use ultravnc

I'm just having fun emailing myself :P

actually the best thing is UltraVNC SC because you put your ip in and it connects to you

so even stupid people can can just run it and then your connected

Sorry, did`nt mean to quote you in my reply...


2015 - Still no flying cars, instead blankets with sleeves.

Share this post


Link to post
Share on other sites

#17 ·  Posted (edited)

Dim $as_Body[1]

$as_Body[0] = FileRead("C:\info.txt")

had to close the file first before FileRead or else never got last line written

FileWriteLine($file, @IPAddress1)

FileClose($file)

Edited by CWorks

Share this post


Link to post
Share on other sites

#18 ·  Posted (edited)

what is up with everyone making variables arrays now days?

Edited by thatsgreat2345

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0