New topic: 

Test email authentication with smtpsocket

<http://forums.realsoftware.com/viewtopic.php?t=47655>

         Page 1 of 1
   [ 6 posts ]                 Previous topic | Next topic          Author  
Message        matt86          Post subject: Test email authentication with 
smtpsocketPosted: Sun Apr 21, 2013 7:58 am                         
Joined: Sun Apr 11, 2010 4:33 am
Posts: 102                Hello guys,
Is there a way to test email authentication with real studio?

I'm working on a Simple email client and when the user type smtp, port, 
username and password I want test if authentication, port and smtp are correct.

Thanks,
Matt   
                             Top                timhare          Post subject: 
Re: Test email authentication with smtpsocketPosted: Sun Apr 21, 2013 6:27 pm   
                      
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12262
Location: Portland, OR  USA                I usually send a test message to the 
user's email address as a way of testing the connection.   
                             Top                matt86          Post subject: 
Re: Test email authentication with smtpsocketPosted: Mon Apr 22, 2013 12:28 am  
                       
Joined: Sun Apr 11, 2010 4:33 am
Posts: 102                Hello timhare,
you've right but this isn't a "clean" way    
                             Top                timhare          Post subject: 
Re: Test email authentication with smtpsocketPosted: Mon Apr 22, 2013 1:30 am   
                      
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12262
Location: Portland, OR  USA                Not sure what isn't "clean" about 
it.  You could use a regular tcpsocket, connect to the smtp host/port and 
authenticate the user, but it's a lot more work and the user doesn't get the 
reassurance that something actually happened.   
                             Top                matt86          Post subject: 
Re: Test email authentication with smtpsocketPosted: Mon Apr 22, 2013 1:44 am   
                      
Joined: Sun Apr 11, 2010 4:33 am
Posts: 102                Thanks timhare,
is there a way to authenticate the user with tcpsocket?   
                             Top                msssltd          Post subject: 
Re: Test email authentication with smtpsocketPosted: Mon Apr 22, 2013 4:20 am   
                              
Joined: Fri Oct 28, 2005 7:05 am
Posts: 555
Location: Emsworth, UK                matt86 wrote:Thanks timhare,
is there a way to authenticate the user with tcpsocket?

There is no one 'standard' way to authenticate an SMTP connection.  Many mail 
servers use similar authentication mechanisms but it's up to the mailserver 
sysadmin, to configure the various options available.  The 'trend' is slowly 
moving towards insisting on TLS encryption, before or after initial connection 
and authentication; for which you will need the TCPSecureSocket and a bunch of 
time to re-invent wheels.      
_________________
Yes it's me in the avatar  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 6 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to