|
| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Vb email help:(
|
Original Message
|
Name: AlwaysWillingToLearn
Date: September 24, 2003 at 09:45:00 Pacific
Subject: Vb email help:(OS: windows 98 secondCPU/Ram: 750, 256 |
Comment: Hi, im not sure if ive posted this message here yet, but if so sory for double posting. ok i need serious help, ive asked many people posted in many sites and no one as of yet could give a solution to ma problem. im making an application which needs to communicate with another, well actually they dont need to communicate really it just needs to look like they do. i have been asked my my teacher not to use winsock as we dont have them installed at school. i therefore need to do this. #1, make a button which will send an silent email to my friend sitting on another computer with his hotmail account open. he will recive the message, an thats my lame attempt to faking a connection. 2#, i also need to be able to attach a file to the email. MAJOR PROB: i need this email to be silent in that no warnings appare no messages nothin. so that ma teacher dont find out went testing. ive tried mapi, but i dont really work please help me im really lost now thank you :(
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Chi Happens
Date: September 24, 2003 at 18:27:21 Pacific
|
Reply: (edit)ok, let me get this straight: 1) you want to make a program that communicates with another program, but not really. 2) Your teacher has asked to to not use winsock because somehow your teacher has modified the windows source code, recompiled windows and made certain to exclude winsockets, and yet still managed some special way of allowing windows to connect to the internet without using sockets. 3) you have to make a button, not an entire application, that when clicked sends an email to your friend's hotmail account while it is open. 4) you need to also attach a file to this email. 5) you need it to be silent so that the teacher, who assigned you this assignment, doesn't know that you are working on your assignment, that they assigned to you on a computer with no sockets. 6) you've tried mapi (do you even know what that is?) but you don't really work...i did read that correctly right? AND IF THAT ISN'T ENOUGH...HERE IS WHAT I THINK MORE CLEARLY STATED: 1) You want to create some program to harras, or otherwise irritate people around the globe. 2) You teacher did NOT assign you a project and did not tell you not to use winsocks...you simply cannot understand how to use winsocks to do what you want to do, because you are a wanna be hacker. 3) you need to take a few english classes and learn to express yourself in clear and concise sentences, instead of your very un l33t 5p33k. 4) you want to send a virus or something else along with your harrasing emails. 5) you want to do this during class, or place this on someone's computer without their knowledge. it needs to be silent, so the legitimate user of the computer does not have a clue that their computer is being used to irritate others. 6) you don't even know what mapi is. and definately do not know how to program. so... Why don't you stop trying to solicit help for your lame attempts at becoming kmitnik. good day. Chi Happens
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
|
Reply: (edit)ok this is cool, i am a new comer to programming and maybe i dont know as much as you do about programming, but hay im learning. firstly NO i am not making a virus or any form of harrasing program. i dont really know what mapi is used for although it was suggested to me. the program obviously does more than just send a damn email, infact it is intended to let my friend know that i am online so that it looks like we are commuincating. i dont want my teacher to know how we are doing this because we have been asked not to use winsock, when i open vb and go to components i cant find winsock, therefore i assumed we dont have it. i will tell my teacher later when she asks us how we are achiving it. the program is basically an air traffic control system. i am the air controller and my friend is a ground controler. when a plane requests landing from me (air con) i need to right a quick email to my friend to let him know that name of the plane it co-ordinates and also some other attributes. he will then check the ground conditions and land the plane if he feels it is safe. whats interresting is that i am as ived mentioned new to programming only been doing it for a year or so. and i have no knowledge of how to produced viruses. or email programs. if you think you are so clever give me another way in which we can 'fake' communication. have a nice day
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
|
Reply: (edit)Oh yeah and if you can tell me why i am not able to get the winsock component in vb i would appreciate that. thats if you can be use that i am NOT hacker and wont make some VISUAL BASICS program that will hack into your computer or as you put it legitimate users computer.
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: Chi Happens
Date: September 25, 2003 at 13:59:21 Pacific
|
Reply: (edit)See, doesn't it feel better to be a little more honest? So, you don't know what MAPI is, well it is the Messaging API (Application Programming Interface). I am still really hazy on this "fake" communication. And what is the attachment that you mentioned in your original posting (and the top of this thread too)? IF all you want to do is "right a quick email to my friend to let him know that name of the plane it co-ordinates and also some other attributes. he will then check the ground conditions and land the plane if he feels it is safe." why would you need attachments? And yeah I know you aren't advanced enough to make a virus, but you want to hide this program from someone, send something that you didn't make using this program that you also didn't make to do it. I stand by my first comments...what is really amazing is that you have posted this before, and did not get any help. You mentioned that you have posted this in other forums and not gotten any help. And now that I have confronted you about your request, you have admitted that your posts (in this and other forums) have included lies (all the postings i have seen mention that you have tried winsock and mapi, but that they didn't work right). you said "if you think you are so clever give me another way in which we can 'fake' communication", ok how about if you simply open up word, type some stuff that looks like you received it from your friend and hand it into your teacher. since all you want to do is "fake" communication, why go through the process of actually doing ANYTHING?
Chi Happens "I bite my thumb at you"
Report Offensive Follow Up For Removal
|
|
Response Number 5
|
|
Reply: (edit)ok you know what i think we are getting things complety confused and mixed up. im not here to argue, to fight or to insult anyone in this forum. im here to learn, and where possible teach. i have not been lying i do have an assignment that requires me to make an air traffic control system. i have not been lying in any of my threds in this or in any other forum. ''''''MAPI CODE'''''' MAPISession1.DownLoadMail = False MAPISession1.LogonUI = False MAPISession1.SignOn MAPIMessages1.SessionID = MAPISession1.SessionID 'compose and send message MAPIMessages1.Compose MAPIMessages1.RecipAddress =("x@hotmail.com") MAPIMessages1.RecipDisplayName = MAPIMessages1.RecipAddress MAPIMessages1.MsgSubject = ("CO=rodinates") MAPIMessages1.MsgNoteText = ("The message") MAPIMessages1.Send True 'MAPIMessages1.Send False MAPIMessages1.AttachmentPathName = (App.Path & "\") MAPIMessages1.AttachmentName = ("PlaneDetails.txt") 'signs off MAPISession1.SignOff '''''''END CODE''''' as ive mentioned ive tried mapi, and it was suggested to me by a someone on this site i believe read some of my other threads. why do i have to send an attachment, well basically when a plane asks me for landing premission all its details are loaded into a text box on my screen, these details are taken from an oracle database. i then press send which first saves the details into a text document, ad then sends it to my friend. indeed we could just write a word document, but my intensions are to learn more and i have been wrting word docs for many years now. the reason i have not been getting any help fro other sites is simple. no one really knows how to do it, im not being rude but thats what i was told. everyone says that they have at one point tried the save thing as me and have failed. they have tried ftp, smpt and also oulook. but none of them send the message, they merely store them in your outbox. see the problem is this i have been able to use winsock now to do this project at home. but when i took it to uni the winsock control turned into a picture box, and when i search for it in the components list it wasnt there. thats why we cannot use winsock. final thoughts. as ive said im only here to find answers to some questions i have and also to help those who i can help. if you believe that i am trying to do something wrong well thats that. thankyou for your help and replies anyway. dont bite your thumbs its a bad habit. :)
Report Offensive Follow Up For Removal
|
|
Response Number 6
|
Name: Chi Happens
Date: September 26, 2003 at 11:51:34 Pacific
|
Reply: (edit)Nice to see you have a sense of humor. (the bite the thumb comment, very funny) anyhow...ok i see some source code, my first suggestion to you is get rid of all those unnecessary parenthasis. Ok I will help you: Here is what your code SHOULD look like: MAPISession1.DownLoadMail = False MAPISession1.LogonUI = False MAPISession1.SignOn MAPIMessages1.SessionID = MAPISession1.SessionID 'compose and send message MAPIMessages1.Compose MAPIMessages1.RecipAddress = "x@hotmail.com" MAPIMessages1.RecipDisplayName = MAPIMessages1.RecipAddress MAPIMessages1.MsgSubject = "Coordinates" MAPIMessages1.MsgNoteText = "The message" MAPIMessages1.AttachmentPathName = App.Path & "\PlaneDetails.txt" MAPIMessages1.Send False 'signs off MAPISession1.SignOff '''''''END CODE''''' it works. (ok so now that i gave you the answer that no one else could, am I your god or what? send me some candy) Chi Happens
Report Offensive Follow Up For Removal
|
|
Response Number 7
|
|
Reply: (edit)thank chi for your help i havent tried the code yet, have to go to uni and test it. im glad to see that you finally believe me though took a lot of convincing. are you my god, if so give me a million pounds a first grade at uni and THEN ill send you some candy through the post. in the mean time ill start eating it. munch...munch kinda yummy have a nice day dood, thank for your help. :)
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home
|
|
|