Solved

Is it possible to send mail using port 80

Posted on 2004-10-20
11
200 Views
Last Modified: 2010-05-02
using cdo can we send mail through http port of smtp server
0
Comment
Question by:raj_ms
  • 5
  • 3
  • 2
11 Comments
 
LVL 4

Expert Comment

by:kurian2z5
Comment Utility
no the server will not be listening on any port other than 25 unless specifically configured to do so.
0
 

Author Comment

by:raj_ms
Comment Utility
why i asked this question is my lotus notes can send mail to external domains, where as my cdo program cant send mail to external domain. so i thought my lotus notes use port 80 to send email. i am sure they havent done any changes in the server settings for lotus. my smtp server ius lotus domino.
0
 

Author Comment

by:raj_ms
Comment Utility
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "10.40.61.23"
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username"
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "pwd"
mmcdoconfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
mmcdoconfig.Fields.Update
mgcdomsg.Subject = val5
mgcdomsg.MimeFormatted = True
mmcdoconfig.Load (cdoIIS)
Set mgcdomsg.Configuration = mmcdoconfig

    mgcdomsg.HTMLBody ="<html><head></head><body>hello</body></html>"
   
    mgcdomsg.Organization = "Organis"
    mgcdomsg.To = "some@differentdomain.com"    
    mgcdomsg.From ="name@mydomain.com"
   mgcdomsg.send
0
 

Author Comment

by:raj_ms
Comment Utility
what is tcp/ip port no
0
 
LVL 4

Expert Comment

by:VIkasumit
Comment Utility
Hi..

Even i think it is not possible to send mail through port 80 without the sever configuration. You need to make your server to send mail using any port. In gerneal it is only port 25 (IF i remember correctly ) for smtp.

VIkasumit
http://vikasumit.mybesthost.com
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 4

Expert Comment

by:VIkasumit
Comment Utility
Hi.. What the code is all about is this your coding

VIkasumit
0
 
LVL 4

Expert Comment

by:kurian2z5
Comment Utility
that may be an exception.
normally smtp.somedomain.com will not even accept a connection on any port other than 25
0
 
LVL 4

Accepted Solution

by:
VIkasumit earned 500 total points
Comment Utility
TCP/IP doesn't have any particular port no But It is a name given to IP address with other protocal set that Defien the Port on on the IP address.. And hence the TCP/IP is More than a port no.

An IP address have different port like 10.10.10.10 is a Ip Address and 80 is port no to access awebsite on this IP address.


VIkasumit
0
 

Author Comment

by:raj_ms
Comment Utility
i could use smtp port(25), it works fine for internal domain and for external domain, it gives an 554 relay rejected error.
0
 

Author Comment

by:raj_ms
Comment Utility
so i thought my lotus notes was using some other port to send email
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now