|
Post by Chu-Chu on Jun 12, 2006 10:22:02 GMT -5
Do you hate spam? Through all of the 'enlargment' and 'more volume' and 'pornstar esque' stuffs out there, I'm sure you get tons upon tons of emails. Do you want to re-finance your home? Get a degree online? Are you pre-approved for a credit card? I don't know about you but I get thousands of emails about this stuff each week. I don't know about you, but I hate it. Gets on my nerves, and makes my day worse. Why? Because, I am a 'Port Master'. For those of you whom don't know what a Port Master is, I'll enlighten you.
A Port Master is a job title given to an individual that is required to sort through every single email for a coorporation that is marked as spam to make sure that there is not a real email in the mess of junk. So, every day I got through hundreds and thousands of emails, checking each one individually to see if it is spam. How many emails? Well, Upon leaving work Friday at 2:00 pm. I had 0 emails in my inbox. Upon returning to work Monday morning at 8:00 am, I had ~2200 emails. Now, I would also like to point out that not only is my email account the Port Master account, but it is also the Help Desk account. Thus, I do have real emails being sent to me as well.
Out of the 2200 emails 15 were addressed to me, and of those 15, 13 were automated messages from my servers telling me of their status. out of the rest of 2185 emails 0 were forwarded messages that needed to be sent on because they were accidental spam. Thus, I had to open and read 2185 spam emails dealing with viagra, hoodia, cialis, sper-m, hot stock, re-finance, online diploma, and many many other stupid topics. So, tell me, do you have it worse than me? do you get junk emails in the course of 2 1/2 days than I do?
Mind you, this is 1 email account... of 6.
~Chu
|
|
|
Post by Amy on Jun 12, 2006 13:22:07 GMT -5
I've got about 2,000 sitting in one account, from oh about three days time, and probably another 200 in second, but the 200 is from the course of a week.
Yeah. I don't get as much spam as I used to
|
|
|
Post by Kami on Jun 12, 2006 16:01:23 GMT -5
i got none o_0
|
|
|
Post by agentx on Jun 12, 2006 16:58:56 GMT -5
I never get spam... but then again, i'm not a corporation...
|
|
|
Post by B8 on Jun 12, 2006 20:49:09 GMT -5
Depends upon which email account you are talking about. On one account, my junk email account, I can get hundreds of emails a day. ALL of which go straight into the circular file.
Most of my other email accounts get between ten and thirty junk emails a day. The spam filters catch about 75% of the junk most of the time.
So get a junk email account and use it. Empty the in box into the trash without thinking about it. Empty the trash with no remorse. It will make your life easier.
|
|
|
Post by Chu-Chu on Jun 13, 2006 0:44:12 GMT -5
I am a Port Master... Thus, I cannot do that B8.... *sigh*
~Chu
|
|
|
Post by B8 on Jun 13, 2006 6:18:15 GMT -5
Use a windows script to automate your task. Then get an A.I. built into the program. With that and a little more programming you could make the task a little bitty thing. Sorry but I tend to pun a lot.
Get a voice controlled operation going, oh wait then you would just go voiceless by the end of the day. What you need is a thought controlled headset. Then you could think the spam out of existence. Another of my dreams was...
Edited by author for... No I better not say what for. You could get fired for that going on in the workplace. But I digress, now with the thought control you could rule the world. World domination, that is the goal of the AC. Well that is what it says doesn't it? Go for it.
Hers is a handly little code snippet:
If you want to send something to every machine on a Subnet, there's a handy mechanism called a Broadcast. Nothing that your broadcast can get outside of the network, so it's an internal mechanism. It's important to point out that this isn't a 'popup' message or anything visual. Rather, if you have a listener on that port, it will be received by it. What it does with that message is up to the client app.
This code is pretty self explanatory, but let me run through a few things. 1) I arbitratiry chose a port, in real life it may be being used or blocked so make sure you run it by your Network Admin before playing with his ports. 2) Use 255.255.255.255 to send it out to everyone, or use your network IP and append 255. Hence if your IP is 205.183.31 then add .255 to it 205.183.31.255 3) Somehow the consumer will want to know if things worked or not...Instead of using Return codes, I decided to raise some events. However, I could have used both, but since this is such a simple class, I got a little lazy.
First I pull in the Imports Statements:
Imports System.Net Imports System.Net.Sockets
Next, here's the class:
Public Class Broadcaster #Region "Delegates" Delegate Sub MessageSuccess() Delegate Sub MessageFailure() #End Region
#Region "Private Fields" Private _NetIPAddress As String Private _Port As Int16 Private _BroadcastMessage As String Private myClient As New System.Net.Sockets.UdpClient Private _Info As Byte() 'Points to MessageSuccess() Public Event MessageSent As MessageSuccess 'Points to MessageFailure Public Event MessageFailed As MessageFailure #End Region
#Region "Properties" Public Property NetIPAddress() As String Get Return _NetIPAddress End Get Set(ByVal Value As String) _NetIPAddress = Value End Set End Property
Public Property Port() As Int16 Get Return _Port End Get Set(ByVal Value As Int16) _Port = Value End Set End Property Public Property BroadcastMessage() As String Get Return _BroadcastMessage End Get Set(ByVal Value As String) _BroadcastMessage = Value End Set End Property #End Region
#Region "Methods" 'If this constructor is used, all you need to do is call SendMessage Public Sub New(ByVal IP_Address As String, ByVal PortNumber As Int16, ByVal Msg As String) Me.NetIPAddress = IP_Address Me.Port = PortNumber Me.BroadcastMessage = Msg End Sub 'If this constructor is used, make sure you set the BroadcastMessage Public Sub New(ByVal IP_Address As String, ByVal PortNumber As Int16) Me.NetIPAddress = IP_Address Me.Port = PortNumber End Sub
Public Sub SendMessage() 'To make this more robust, I should probably check 'that there is in fact a message and respond accordingly.. 'but it's Sunday night so forgive me. _Info = System.Text.Encoding.UTF8.GetBytes(Me.BroadcastMessage) Dim EndPoint As New IPEndPoint(IPAddress.Parse(Me.NetIPAddress), Me.Port) Try myClient.Send(Me._Info, Me._Info.Length, EndPoint) 'Use a Success Event and raise it if things worked RaiseEvent MessageFailed() Catch ex As System.Net.Sockets.SocketException 'Instead of using a return type, why not just create 'a Failed Event? RaiseEvent MessageSent() End Try End Sub #End Region End Class
Finally, to use the class with the 3 Paramater constructor:
Dim SomeBroadCaster As New Broadcaster("255.255.255.255", 2000, "I Am Babatunde") SomeBroadCaster.SendMessage()
|
|
|
Post by Chu-Chu on Jun 13, 2006 8:56:56 GMT -5
Who here has any doubts that B8 is/was a programmer? Hmm??? Anyone??? Okay... now that that's settled... Who else here is a programmer??? Hmm? Anyone??? well then... No wonder most people don't understand this... If I had actually looked at it instead of skipping over the programming part, I could probably understand parts/most of it. I use to be a programmer when C was popular... now we're onto C++ and C#.... sheesh... anyway... way too much work B8... too... much.... ~Chu
|
|
|
Post by Amy on Jun 13, 2006 9:00:46 GMT -5
Who here has any doubts that B8 is/was a programmer? Hmm??? Anyone??? Okay... now that that's settled... Who else here is a programmer??? Hmm? Anyone??? well then... No wonder most people don't understand this... If I had actually looked at it instead of skipping over the programming part, I could probably understand parts/most of it. I use to be a programmer when C was popular... now we're onto C++ and C#.... sheesh... anyway... way too much work B8... too... much.... ~Chu I say he's a cheater www.knowdotnet.com/articles/udpbroadcastmessage.html
|
|
|
Post by Chu-Chu on Jun 13, 2006 9:07:36 GMT -5
I know, he sent me a PM on it... I was just tying to make him look smart... he looks like he could use the ego boost.
~Chu
|
|
|
Post by B8 on Jun 13, 2006 19:11:44 GMT -5
Chu I came clean and sent you the link. So all good programmers start with a bit of code from another source. Then they fold spindle and mutilate it to the purpose they needed it for. Windows is just too big to learn all of it. Even interacting with it takes time, research and stamina. You can tell the non programming public because they think it is cheating to take a look at another programmers work.
Go re-invent the wheel on your own time.
|
|
|
Post by Chu-Chu on Jun 13, 2006 19:49:04 GMT -5
why are you yelling at me? Amy is the one that beat you down!
~Chu
|
|
|
Post by B8 on Jun 15, 2006 5:50:28 GMT -5
Yelling?
If I were yelling at you I would be using CAPS and BOLD CAPS AT THAT.
You are right - reorients post and shoves it down Amy's throat - Take that AMY.
I am sorry that you got caught in the cross fire Chu.
"Hangs head and makes a bowing motion."
|
|