[Help VB.NET] @live Mail Problems. - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: [Help VB.NET] @live Mail Problems. (/showthread.php?tid=3536) Pages:
1
2
|
[Help VB.NET] @live Mail Problems. - HmanDude - 12-11-2009 I am coding a Live email sender. Code: MyMailMessage.From = New MailAddress(TextBox3.Text) Is the code i'm using right? When I debug and try and send, It highlights SMTPServer.Send(MyMailMessage) :S Thanks for any help. RE: [Help VB.NET] @live Mail Problems. - dunlop03 - 12-11-2009 Change your port number to : 587 Also do u have this on the very top of all your code : Code: Imports System.Web RE: [Help VB.NET] @live Mail Problems. - HmanDude - 12-12-2009 Done all of that and changed port to 587 Same error message as before :/ RE: [Help VB.NET] @live Mail Problems. - dunlop03 - 12-12-2009 Use this : Code: Dim mail As New MailMessage() You were getting the error from this line of code , (wht is >>>> vbCrLf ): Code: MyMailMessage.Body = (TextBox5.Text & vbCrLf) RE: [Help VB.NET] @live Mail Problems. - HmanDude - 12-12-2009 Mailbox unavailable. The server response was: 5.7.3 Requested action aborted; user not authenticated and it's highlighted SmtpServer.Send(mail) as an error. RE: [Help VB.NET] @live Mail Problems. - dunlop03 - 12-12-2009 Can u upload ur project somewhere so i can see it ? Also what is >>>>>>>>> vbCrLf RE: [Help VB.NET] @live Mail Problems. - Digital-Punk - 12-13-2009 (12-12-2009, 05:38 AM)dunlop03 Wrote: Can u upload ur project somewhere so i can see it ? you know what, i think that will add extra unneeded spaces. RE: [Help VB.NET] @live Mail Problems. - dunlop03 - 12-13-2009 what u mean ? RE: [Help VB.NET] @live Mail Problems. - Digital-Punk - 12-13-2009 idk im retarded lol. RE: [Help VB.NET] @live Mail Problems. - iRtehLeet - 12-14-2009 vbCrLf is the same as vBNewLine, also for hotmail or live host: smtp.live.com port: 587 i have done this and it works |