Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/06/2006, 15:42
carlitosdan
 
Fecha de Ingreso: octubre-2003
Ubicación: Lima
Mensajes: 319
Antigüedad: 20 años, 7 meses
Puntos: 2
MEnsaje de error al enviar mail con .net

The server rejected one or more recipient addresses. The server response was: 550 Requested action not taken: mailbox unavailable or not local

Este mensaje obtengo al tratar de enviar mails con este codigo:

<%@ Page Language="vb" debug="true" %>
<%@ Import Namespace="System.Web.Mail" %>
<HTML>
<HEAD>
<title>Send Mails Adventureshouse.com</title>
<script runat="server">
sub send_click(sender as object, e as eventargs)
dim miMail as New mailmessage
mimail.to = "[email protected]"
mimail.cc = cctext.text
mimail.bcc = bcctext.text
mimail.subject = subjecttext.text
mimail.body= bodytext.text
mimail.from=fromtext.text
SmtpMail.SmtpServer="mail.adventureshouse.com"
SmtpMail.Send(miMail)
fromlabel.text ="correo enviado"
end sub
</script>
</HEAD>
<body>
<form id="form_de_envio" method="post" runat="server">
<TABLE WIDTH="300" BORDER="0" CELLSPACING="1" CELLPADDING="1" align="center" runat="server">
<TR>
<TD><asp:Label ID="fromlabel" text="De: " Runat="server"/></TD>
<TD><asp:TextBox ID="fromtext" Runat="server" Columns="30"/></TD>
<TD></TD>
</TR>
<TR>
<TD><asp:Label ID="cclabel" text="CC:" Runat="server"/></TD>
<TD><asp:TextBox ID="cctext" Runat="server" Columns="30"/></TD>
<TD></TD>
</TR>
<TR>
<TD><asp:Label ID="bcclabel" text="Bcc:" Runat="server"/></TD>
<TD><asp:TextBox ID="bcctext" Runat="server" Columns="30"/></TD>
<TD></TD>
</TR>
<TR>
<TD><asp:Label ID="subjectLabel" text="Subject:" Runat="server"/></TD>
<TD><asp:TextBox ID="subjecttext" Runat="server" Columns="38"/></TD>
<TD></TD>
</TR>
<TR>
<TD valign="top"><asp:Label ID="bodylabel" text="Mensaje:" Runat="server"/></TD>
<TD><asp:TextBox ID="bodytext" TextMode="MultiLine" Rows="8" Columns="30" Runat="server"/></TD>
<TD></TD>
</TR>
<TR>
<TD></TD>
<TD><asp:button ID="boton_envio" Text="enviar" OnClick="send_click" Runat="server"/></TD>
<TD><input id="resetear" type="reset" value="Borrar todo" runat="server"/></TD>

</TR>
</TABLE>

</form>
</body>
</HTML>



Por favoe alguien me puede ayudar???


Carlitosdan