lesser-equity

Magazine
Go Back   Computer Juice > Computer Software > Email, VoIP & IM Discussion


Register


Reply
 
Thread Tools
  #1  
Old 3rd Feb 2008, 07:18
New Member Group
 
Hey, this is probably a shot in the dark, but Im really struggling now and thought there might be someone on here that knows the answer.

Im creating a server for a group uni project, the server needs to be able to send emails. So, I set up a free email account that facilitates smtp (email, gmx etc).

My code creates a socket that connects to the given server on port 25. Sends all the required details. Then i get to a stage in the transaction when I need to supply an AUTH string.:-

220 smtp804.mail.ukl.yahoo.com ESMTP

EHLO [192.168.1.8]

250-smtp804.mail.ukl.yahoo.com
250-AUTH LOGIN PLAIN XYMCOOKIE
250-PIPELINING
250 8BITMIME

AUTH PLAIN THE_MD5_STRING

235 ok, go ahead (#2.0.0)

rest of the transaction.................

ok, the part im strugling with is THE_MD5_STRING. Obviously I can just grab this with a packet sniffer, and use the md5 for each transaction (which I did, and have been sending emails this way for the past 3 months), but i want the system to be more generic. Does anyone know how this md5 hash is created? It appears to be static, so it must be based on fixed variables (username + password?)
Reply

Register
Thread Tools




Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Latvian Lithuanian Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish Ukrainian

Copyright ©2006 - 2009 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2009 Jelsoft Enterprises Ltd. SEO by vBSEO ©2009, Crawlability, Inc.