Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
HELP: How to use JMAIL component with mail server password?
Old 07-29-2006, 10:59 AM HELP: How to use JMAIL component with mail server password?
Average Talker

Posts: 15
Name: Ivan Bora
Trades: 0
Hi,
I have JMail on my server installed. It works ik inly when I send internal mail
e.g. from info@myhost.com to order@myhost.com

When I'm trying to send and email to external recipient I'm getting error from JMail component: can't send mail to external recipient without password.

I know my mail server login and pass, but I don't know how to insert it the code.
Now I'm using this code:
<%@ language= "VBscript" %>
<% Option Explicit
'declare your variables
Dim JMail
'create an instance of the JMail Object
Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = "mail.codefixer.com" ' the name of your mailserver
JMail.AddRecipient "sendto@email.com" ' the email it will be sent to
JMail.Sender = "sentfrom@Email.com" ' the email it will be sent from
JMail.Subject = "Your subject"
'JMail.ContentType = "text/html"
JMail.Body = "Hi just testing out this JMail component."
JMail.Execute
Set JMail= Nothing
%>

So where shoul I paste login and pass.

Thank you all.
boradesign.net is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-02-2006, 02:51 AM Re: HELP: How to use JMAIL component with mail server password?
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
Take a Look at the following for complete list of JMail methods and properties

www.Dimac.NET : Tools and solutions for web-developers

JMail
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Reply     « Reply to HELP: How to use JMAIL component with mail server password?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.33961 seconds with 12 queries