The error can be resolved by changing:

objJMail.ServerAddress = "smtp:25"

to 

objJMail.ServerAddress = "mail.yourdomain.com:25"


-----Original Message-----
From: moonlight_magica [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 28 december 2004 11:25
To: [email protected]
Subject: [AspClassicAnyQuestionIsOk] w3Jmail ..facing some problem





Hello sir

My previous query was answered and i am thankful to you for replying 
me.
i had downloaded one of free component named w3Jmail.
i faced one problem

        Error Type:
        jmail.SMTPMail (0x8000FFFF)
        The message was undeliverable. All servers failed to receive 
the message
        /Taxation/mail1.asp, line 23


my coding is:

<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<P></P>
<%
 dim objmail
 dim to1 ,cc,subject,body,from1

 to1=Request.Form("txtto")
 cc=Request.Form ("txtcc")
 subject=Request.Form("txtsubject")
 body=Request.Form("txtbody")
 from1=Request.Form("txtfrom")

 Set objJMail = Server.CreateObject("JMail.SMTPMail")

 objJMail.ServerAddress = "smtp:25"

 objJMail.Sender ="from1"
 objJmail.AddRecipient("to1")
 objJmail.AddRecipientCC("cc")
 objJmail.Subject ="subject"
 objJmail.Body ="body"
 objJmail.Execute 
 Response.Write "<b><center><h1>Your message has been 
sent</h1></center></b>"  
 
 set objmail=nothing
 
 %>

</BODY>
</HTML>

 objJMail.ServerAddress = "smtp:25"

what shell i write here if i am trying this component at my home PC??
plz help me sir

Regards,
Priti









 
Yahoo! Groups Links



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to