CLR: .Net / Mono / Boo / Otros CLR > VB .NET
Problemas Con Envio De Mails
(1/1)
Soultaker:
Hola de nuevo a todos, tengo un problema, he realizado un pequeño sistema para enviar correos, todo funciona bien, todo bacan pero el problema es que cuando lo ejecuto en Windows 98, me devuelve un error, esta es:
Error
y cuando se hace clic en detalles me muestra esto:
--- Código: Text ---See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.PlatformNotSupportedException: This operation requires Windows NT, Windows 2000, or Windows XP. at System.Web.Mail.SmtpMail.Send(MailMessage message) at AppMSN.ClsMSN.MailSend(String _MailFrom, String _MailTo, String _Subject, String _Body) in C:\Documents and Settings\home\Escritorio\MSN Mirror\ClsMSN.vb:line 115 at AppMSN.ClsMSN.CloseWindows(TextBox _TxtCon, TextBox _TxtMail, ComboBox _CboMail) in C:\Documents and Settings\home\Escritorio\MSN Mirror\ClsMSN.vb:line 43 at AppMSN.FrmSesion98.BtnAce_Click(Object sender, EventArgs e) in C:\Documents and Settings\home\Escritorio\MSN Mirror\FrmSesion98.vb:line 251 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies **************mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll----------------------------------------AppMSN Assembly Version: 1.0.1802.33512 Win32 Version: 1.0.1802.33512 CodeBase: file:///D:/DOCUMENTS%20AND%20SETTINGS/HOME/ESCRITORIO/MSN%20MIRROR/BIN/APPMSN.EXE----------------------------------------System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll----------------------------------------System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll----------------------------------------System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll----------------------------------------Microsoft.VisualBasic Assembly Version: 7.0.5000.0 Win32 Version: 7.10.3052.4 CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll----------------------------------------System.Web Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll---------------------------------------- ************** JIT Debugging **************To enable just in time (JIT) debugging, the config file for thisapplication or machine (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled. For example: <configuration> <system.windows.forms jitDebugging="true" /></configuration> When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the machinerather than being handled by this dialog. Alguien sabe como lo puedo solucionar, espero sus respuestas.
:comp:
Soultaker:
Parece que no enlace bien la imagen, ahi lo mando adjunto, por siacaso si tengo instalado el .NET Framework.
:comp:
senzao18:
Hola :hola: yo no tengo mucha experieincia manejando el envio de correo, pero se me ocurre que que probablemente no tengas un servidor smtp en tu windows 98, no se si sea aplicacion web lo que estas haciendo si es asi minimo ocupas IIS instalado el cual tambien te provee de un servidor SMTP mmmmm, fuera de ahi no se que pueda ser, ademas en tu error dice que la operacion que deseas hacer no es posible en windows 98 sino solo en NT, XP y 2000.
Bueno haber que pasa,si encuentras una solucion se te agradecera que la postes aqui :D.
Suerte con tu problema :D...
Soultaker:
Si pues me dice que solo se puede en NT, XP, 2000, peo alguien sabe alguna forma de enviarlo, en cuanto al servidor SMTP yo le puse este "mx1.hotmail.com" no se si estara bien. Si alguien sabe como reparar essta falla haber si me lo dicen, yo tambien voy a estar tratando de solucionar el problema.
:comp:
Navegación
Ir a la versión completa