Solved

Is it possible to send mail using port 80

Posted on 2004-10-20
11
203 Views
Last Modified: 2010-05-02
using cdo can we send mail through http port of smtp server
0
Comment
Question by:raj_ms
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
11 Comments
 
LVL 4

Expert Comment

by:kurian2z5
ID: 12359940
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
ID: 12359981
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
ID: 12360024
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:raj_ms
ID: 12360034
what is tcp/ip port no
0
 
LVL 4

Expert Comment

by:VIkasumit
ID: 12360041
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
 
LVL 4

Expert Comment

by:VIkasumit
ID: 12360055
Hi.. What the code is all about is this your coding

VIkasumit
0
 
LVL 4

Expert Comment

by:kurian2z5
ID: 12360062
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
ID: 12360088
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
ID: 12360092
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
ID: 12360117
so i thought my lotus notes was using some other port to send email
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

756 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