New topic: Not able to send email with SMTPSocket
<http://forums.realsoftware.com/viewtopic.php?t=31403> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message dakannan Post subject: Not able to send email with SMTPSocketPosted: Thu Dec 03, 2009 10:13 am Joined: Mon Jun 15, 2009 8:58 am Posts: 60 Location: Chennai Hi Folks, Email functionality seems to be working fine with Gmail account under secure mode but not with any other mail accounts. I would like to know whether it is the limitation of Real Basic or not. Can you please help with a sample code to connect to any other mail account like yahoo or hotmail? _________________ â¢Â·.·´¯`·.·⢠KannaN â¢Â·.·´¯`·.·⢠Top dakannan Post subject: Re: Not able to send email with SMTPSocketPosted: Thu Dec 03, 2009 10:18 am Joined: Mon Jun 15, 2009 8:58 am Posts: 60 Location: Chennai Please see the code that we are using... Code: Dim i as Integer Dim s as String Dim SMTPSocket1 As SMTPSocket Dim mail as EmailMessage mail = New EmailMessage SMTPSocket1 = new SMTPSocket SMTPSocket1.Address = "smtp.mail.yahoo.com" SMTPSocket1.port = 25 SMTPSocket1.username = "[email protected]" SMTPSocket1.Password = "rangoli" mail.AddRecipient "[email protected]" mail.fromAddress = "[email protected]>" mail.Subject = "Test Message" mail.BodyPlainText = "Test email body" mail.BodyHTML = "Test email body" SMTPSocket1.Messages.append mail SMTPSocket1.SendMail MsgBox "Program Finished" Please review it and give your suggestion. _________________ â¢Â·.·´¯`·.·⢠KannaN â¢Â·.·´¯`·.·⢠Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 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]
