ASP Code For Connecting To A Different SMTP Port

I am trying to find out how to connect to a different SMTP port
in ASP.

My default SMTP Port 25 which has been setup for SSL authentication
and works fine.

From ASP pages, I do not want to do SSL and therefore, need to send mail
through a different SMTP port (997). How can I do this?

Here is my ASP Code:

Set Mailer = Server.CreateObject("TCPObj.SMTP")
Mailer.FromName = "my company."
Mailer.FromAddress = "info@mycompnay.com"
Mailer.To = Email
Mailer.SMTPServer = "mail.mycompany.com"
Mailer.Subject = "test email!"

View Replies


ADVERTISEMENT

Com Port Or Print Port

do u have experience in using browsers (IE or Firefox) control hardwares like barcode printer or com port before? can it be done? if yes is it using ActiveX to achieve it?

View Replies View Related

Iis 5.0 - Smtp Virtual Server - Smtp Problem


I am working on a listing for sending emails via CDONTS component...

I have installed SMTP service on my machine and tried running the sample code....No errors appear, yet no mail is sent in the long run...All necessary services are up and running (IIS Admin, WWW and SMTP).

Another thing is that i have checked to see if Default SMTP Virtual Server is listed under the Internet Services Manager pane tree, but nothing seems to be there except Default FTP Site and Default Web Site....

The question might seem silly but...do i have to have a Mail Server installed.....?

How can i determine the cause that prevents the mail from being sent...Logs don't help much....Is there a way to detect the actual presence of the component...?

View Replies View Related

Opening Port 80

how to open port 80 so that I can access my website from other computers?I am using Xp professional.

View Replies View Related

Port Trought Asp

i use a dll (ASP) that uses the serial port to connect to a out of date disk reader
that work fine if the disk reader is hook up to the servers serial port

is there any way to hook up the disk reader to a CLIENTS computer let im navigate to my web page(ASP) and use it trought web
what technologies are involved

View Replies View Related

Changing The Port (80) Of IIS

i am running iis and apache both.now i want to change the port of iis to e.g 70.how can i change it?

View Replies View Related

SSL Port 443 Only For Certain Pages

I've got an asp app that needs to use SSL only for certain pages. Is there a way to shut off port 80 for certain pages (HTTS pages), but have it open for other pages? Can this be done in IIS? OR is this something we can do testing server variables in the asp classic vb script code? OR, do we set up another web site that has port 443 closed and only have the secure pages on that web site with port 80 closed?

View Replies View Related

Default Port

i set up iis 5.0 on my local machine(win2kpro) (on a pvt LAN) at the default port. when i try to access asp it gives http 500 error. i have been able to configure cgi scripts but asp still doesnt work.

View Replies View Related

Finding A Port

i know how to find the available server names, how can i find the ports?

View Replies View Related

Port Interface

Is asp/asp.net able to interface with the PC's I/O ports? I'm currently doing a program on VB using the SDK from the vendor to interface my biometric scanner to my PC using usb port. Can this same thing be done using asp?

View Replies View Related

Port In Connections

i have a connection string (this all in asp )

tCSCst = Provider=SQLOLEDB;Data Source=test02x2;Port=1444;Initial
Catalog=<cataloge>;User ID=<id>;Password=<password>

Set testCaseServerConn = Server.CreateObject("ADODB.Connection")
testCaseServerConn.Open tCSCstr

but i get the following error

An error occured:-2147467259 - Invalid connection string attribute

the problem seems to be the port itself, if i use 1433 then it works fine.

View Replies View Related

ASP Port Script

I need a asp script which can open port on a server. I have ads running in a server. Since there r too many http requests, server is hanging.

The server load is 100%. I plan to switch from http to port technology. I need help to write a script in asp which can open port on a server, so that there can be free flow of data.

View Replies View Related

Enterprise Manager Port?

I'm trying to use Enterprise Manager to manage my remote SQL database, but I can't seem
to get a connection. I think my cable ISP Comcast may be blocking the port EM uses.

What port does Enterprise Manager use to communicate with SQL?

View Replies View Related

Printing To Serial Port

I have to setup a point-of-sale system for a friend. He has a PC, barcode scanner, receipt printer and cashdrawer.

The receipt printer connects to the serial port.
The cashdrawer connects to the printer.
The barcode scanner has a keyboard wedge.

Do I need to setup the receipt printer as a windows printer?
OR can I send output directly to the serial port using ASP?

The salesman told us that there is an epson escape sequence that you append to the end of the sales receipt information, which will kick the cashdrawer open, so that sounds simple enough. Just not sure on how the printer should be setup/configured so I can send the escape sequences to open the cashdrawer.

View Replies View Related

Getting Client (RemoteHost) IP And Port

How do I get the client Ip and Port in an ASP page. I know about server.variables (REMOTEHOST) for the ip address, but how do I get the port of the remotehost (client).

View Replies View Related

Port Connection Counting

i have a server and client game that uses a port for ppl to connect to. so they can play

port : 7234

i want to create a asp page that tells you how many connections are currently connected to the port (ie users playing)does anyone know the code to do that. ive spent all day looking for some code but cant find any.

View Replies View Related

Specify SQL Server Port In Connection String?

We are planning to change the port that SQL Server is listening on at our Web Hosting company(TELUS).

Our SQL Server is being attacked. There are thousands of unauthorized attempts to login.

Is it possible to specify port number
in ASP code?

here is my cn:
PROVIDER=SQLOLEDB.1;DATA SOURCE=MachineName;INITIAL CATALOG=DatabaseName;USER ID=iserid;PASSWORD=password;

How should it look like if let's say our SQL port is 32566?

View Replies View Related

Error Using The Port In Connection String

i have a connection string (this all in asp )

tCSCst = Provider=SQLOLEDB;Data Source=<bd>;Port=1444;Initial
Catalog=<cataloge>;User ID=<id>;Password=<password>

Set testCaseServerConn = Server.CreateObject("ADODB.Connection")
testCaseServerConn.Open tCSCstr

but i get the following error:

An error occured:-2147467259 - Invalid connection string attribute

the problem seems to be the port itself, if i use 1433 then it works

View Replies View Related

ASP.NET Capturing USB Port Events In Both Windows And Linux

I need to develop a web application in asp.net which can detect a USB device and capture its

events...
For example when a person access the web page and connects the device to his machine he shld be

able to detect the device and shld be able to read or write into it.
I wrote a java program using jusb and called that in an applet..though it worked it needed lot

of client side configurations.

My requirement is that there should not be any configurations in client side and things shld

work smoothly.
I know some one had done this in asp and javascript. but i don't know how its done.

View Replies View Related

Using External SMTP Server Vs. IIS SMTP Server

Our network administrator does not want to install the IIS SMTP server on
our intranet. He wants me to use our existing SMTP server
"mail.smpi.siemens.ca". Can I do this with IIS?? Is this a setting in an
ASP if I'm not running the IIS SMTP server?

We are running on Windows 2000 SP4 with IIS5.

View Replies View Related

SMTP For ASP

I'm having a few problems with getting an SMTP server configured on my
Windows 2000 Server web server. My web server is co-located at my hosts and
i use VNC to remotely access the web server. Acting on advice from my host
IIS's SMTP server has been disabled by running the IIS lockdown Tool. I
have internal access to my hosts SMTP server where i can send mail from my
web site to my own domain email address only, i am not allowed to send email
external address.

Does anyone know of a SMTP server that i can use to send emails from my ASP
website?

My host suggested Jmail for doing the job. I installed JMail on my web
server but i am getting the following error:

"The message was undeliverable. All servers failed to receive the message"

Can anyone tell me what this error is?
Can anyone tell me how to fix this problem?
I am correct in my understanding that JMail has its own SMTP server?
How can i test to see if JMail is working?
after installing JMail do i include my web server IP address as the SMTP
server?

View Replies View Related

SMTP

I want to send email using asp
I' have tested with asp(CDONTS ),but it doesn't work.
For example i send it tosomeone@somedomain,but it doesn't
work.Should i make a configuration?The problem is i only can accept emails,
but i cannot send any.

View Replies View Related

What Is SMTP

I need to insert my smtp in order to use my bulk mailing programming in order to mail my mailing list. What is my smtp and how do I find it or where ?

View Replies View Related

SMTP Down

My web app were sending emails and then emails were not being sent because the SMTP was down. Are there certain steps that need to be followed/implemented at the web-server before an web app can send emails to the end-users into their client email?
Please recommend where I can look into the IIS web-server if there is any place where permissions are set to allow the IIS to communicate with the SMTP mail server?

View Replies View Related

USE CDO With Other SMTP

What is object code for sending mail from CDO to another server SMTP.

View Replies View Related

SMTP Using CDO

I'm trying to send and alert email via ASP page and it's getting stuck in c:InetpubmailrootQueue. Everything else is fine and I get no errors, this page redirects to the right place and everything. The mail just gets stuck in the queue. Go figure!

Here's the script I'm using or do you think my SMTP isn't set up right and if so where can I get some help on setting up the SMTP? Code:

View Replies View Related

Using Asp With Smtp

i have an asp front end app on a win2k server and want it so that when form data is submitted and entered into the database, an email is generated concurrently with the details sent to an email address.

do is this done from asp (any examples) or can it be done with smtp ?

View Replies View Related

SMTP

I have an ASP page that sends email using CDOSYS. If there is any type of failure that causes the email not to be sent, I don't have any way of knowing it. Is there any email component that will notify me or log the failure?

View Replies View Related

Mail Using ASP (POP And SMTP) Help!

I have a website and I need visitorst to be able to send emails to me from it by filling out a form (not mailto:).

I have Win2k3 server enterprise running with IIS and POP3 all setup. My provider blocks port 80 so i redirect using no-ip.com to another port. I tryed CDOSYS and other free third party mailers (currently I have Persits Software free ASPemail installed), but I can't get anything to work. I know by now that I need to set something up (maybe some redirect) on my server so this works.

Please, if anyone knows how to do it, tell me how. In particular, to send an email from my site to at least my local server, and at best to lets say hotmail.com.

View Replies View Related

SMTP Mail

I'm having problems getting CDO.Message to work with SMTP on my Windows 2000
Server. I keep getting the following error:

CDO.Message.1 error '80040213'

The transport failed to connect to the server.

/services/E-CommerceQuote_new.asp, line 2357

I am assuming that it is meaning it can't find the server i have specified
where the SMTP server is, which is the same PC. I have specified by IP and
domain name but i get same error. i know i haven't said much about the setup
im using so if needed i can provided more details.

Does anyone know how to fix this problem?

View Replies View Related

ASP CDOSYS SMTP

I have an ASP page that uses CDOSYS to send a simple HTML format email with a
PDF attachment. When I open the PDF attached to the email it shows up as a
blank page. I log into the web server console and open the same PDF in the
source directory and it opens fine. I run a binary comparison of the source
and attached files and there's a difference: one byte, x'2E' is missing at
offset x'0231'. If I save the attached file and use a hex editor to insert
the x'2E' the file opens just like the original

View Replies View Related

Cdo Smtp Relay

Iīm facing problems while trying to send e-mails by CDO.Message...
The error happens when some of the recipients arenīt real (working) e-mails...
The error code is 0x8004020F, and the code simply donīt work when some of the e-mail in the list isnīt real, not sending to the rest of the list either.

View Replies View Related

SMTP Problem

I'm trying to send emails through my SMTP on my IIS in windows 2000 server ....
everything seems to be fine except I can not send anything to hotmail ....
so basically hotmail is blocking my emails .... and I have had the same problem
with different domains .......

and also yahoo sends my emails to BULK folder ...
I'm using exchange server 2000 and Mdeamon and same problem on both .... but
if somebody sends me an email from HOTMAIL and I reply the message then hotmail
will accept it .....

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved