-3
<table>
<tr>
<td>
<asp:TextBox ID="rec_email" runat="server" ReadOnly="True">[email protected]</asp:TextBox>
</td></tr>
<tr>
<td>
<asp:TextBox ID="vol_name" runat="server" placeholder="Your Name"
Font-Names="Letter Gothic Std"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please enter your name" Display="Dynamic" ControlToValidate="vol_name" SetFocusOnError="True"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="sen_email" runat="server" placeholder="Your Email"
Font-Names="Letter Gothic Std"></asp:TextBox>
</td></tr>
<tr>
<td>
<asp:TextBox ID="phone_num" runat="server" placeholder="Your Number"
Font-Names="Letter Gothic Std"></asp:TextBox>
</td></tr>
<tr>
<td>
<asp:TextBox ID="msg_text" runat="server" TextMode="MultiLine" CssClass="msg" placeholder="Message"
Height="96px" Width="130%" Font-Names="Letter Gothic Std" Font-Size="15px"></asp:TextBox>
</td></tr>
<tr>
<td>
<asp:Button ID="btn_send" runat="server" Text="Send" CssClass="button1"
onclick="btn_send_Click" />
</td>
</tr>
</table>
<asp:Label ID="Label1" runat="server" Font-Bold="True"
Font-Names="Letter Gothic Std" ForeColor="#0099FF"></asp:Label>
</td>
</tr>
</table>
那么,如何接收消息的用户在发送[email protected]发送电子邮件到指定的Gmail帐户
PS:这只是一个虚拟项目,所以有可能没有托管网站?谢谢:)
PPS:是的,如果有可能,如果我能够在我的Gmail帐户中获得消息,那么是否有必要通过这种形式将他们的数据存储在数据库中?
是什么您的问题实际上 - 从您的网站发送电子邮件或接收它们? –
两者! :/我不知道如何做的确切编码..过程! – Skullcandy
[如何在ASP.NET C#中发送电子邮件]可能的重复(http://stackoverflow.com/questions/18326738/how-to-send-email-in-asp-net-c-sharp) –