Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 7th, 2004, 09:36 PM
Authorized User
 
Join Date: Jul 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default The mail can't be send

I doesn't want to use the smtp of the dotnet class library, so I use jmail to send an email,but it can't send,I don't know why it doesn't work,it made an error like that "the message undelivered,all the server can't recevie ".The code as :
-----------------------------------------------------------------

jmail.Message MailObj=new jmail.MessageClass();

MailObj.From="jessupsalesystem@163.com";
MailObj.Logging=true;
MailObj.MailServerUserName="hello@163.com";
MailObj.MailServerPassWord="123456789";
MailObj.HTMLBody=" Welceom :";
MailObj.AppendHTML("Hey!");
MailObj.Subject="Hello";
MailObj.FromName="master";
MailObj.Priority=3;
MailObj.AddRecipient(to,"You ","A") ;

try
{
if(MailObj.Send("smtp.163.com",false))
    {
        return "Success";
    }
else
{
    return "Fail";
}
-----------------------------------
I use an Chinese SMTP Server,But it work normally before.
Tell me ,thank you

 
Old September 8th, 2004, 04:40 AM
Authorized User
 
Join Date: Jul 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HOHO,It works normally now !

 
Old September 8th, 2004, 05:14 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

But tel us how ?

Numan
--------------------------------------------------
Love is the most precious thing of this world. So find and grab it!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Send mail and attachments with PHP mail function Lofa Beginning PHP 1 June 2nd, 2008 03:24 PM
send mail chavakoti BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 1 September 4th, 2007 05:03 AM
How to send mail Jolley_tolson PHP How-To 0 August 13th, 2007 03:38 AM
Cannot send mail rajanikrishna JSP Basics 3 March 17th, 2006 01:39 AM
how to send a mail ashokparchuri General .NET 2 March 24th, 2005 07:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.