Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




ASP Emails Without SMTP Server?


Anyone has ideas how to send an email through ASP without having an SMTP server? I'm currently building a website which needs emails to be sent when users submits a form, however the web space provider doesn't not have an SMTP server. I'm now using CDO on my local testing server (with SMTP installed) and it works, but I just don't know how to get it working after uploading it because the remote server hasn't got SMTP on it.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Win 2003 SMTP Truncating Emails
I am in the process of transferring several ASP 3.0 websites from NT 4.0 to Windows Server 2003. The latest issue I am having is in converting CDONTS code to CDO code. My email sends fine, but is showing up truncated (approx. 1000 characters). The email is being sent in HTML format with the body string being a long string of concatenated strings. In NT 4.0 this is not a problem, but it appears to be in Win 2003. Have any of you come up against this same issue and if so what did you do to rectify it?

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...?

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.

SMTP Server
Another newbie's questions

How do I find my STMP server ( I need it to use AspSmartMail)?

My web site is being hosted on a .com , do I have to ask them? Or can I find it by myself.

CDO - And Remote SMTP Server
1. I wonder, why do I need to add the following lines when sending forms through mail, using CDO component?

2. If I remove these lines and the form is still submitted as it should, and I get the mail as a result as it should, does it mean I do not need these lines?

3. In other words - How do I know if an SMTP service is installed on the local server, and not in another network (besides asking the admin)? Code:

Exchange Server For SMTP
I have no knowledge of Exchange server, and have always used CDO to send emails from ASP in the past. the server in question doesn't have SMTP installed alongside IIS, it has Exchange installed which apparantly does have SMTP capabilities but not like the default ones normally accessbile via IIS.

Has anyone ever used this approach to sending emails? I'm hoping that I dont need a component or anything else, just some changes to my existing email code.

Using CDONTS To Logon The IIS SMTP Server
Is it possible to logon to the SMTP server that comes with IIS from a machine other than the actual server. Ideally I would want to put some VB Script in an SQL Server Job Schedule or an ASP page that uses CDONTS and use it to pull the emails into the database. The SQL Server is on another machine on the network. Is this viable.

Using SMTP/server-side Email
Is it possible to set up server-side mail services such that when someone
e-mails to a certain address, the contents attached to that mail are
processed and the processed content is returned to the user, again, as an
attachment?I installed a server-side component for managing graphics. "Wouldn't it be
nice," thought I, "if untutored staff could email graphics to a certain
e-mail address to have them resized and returned to them.")
I understand how to handle the graphics processing and the sending. I don't
understand how to set things up so that e-mailing to a certain address will
trigger the start of an application. Ideally you could do this all within
ASP. Is this possible?

Programatic Feedback From An Smtp Server
I have an application which sends emails. Currently we use the mailenable web server.
If an email is not sent successfully then we want to update the email address in our database as unreacheable automatically.

In other words we want a mail server that when it gives up sending an email will do an http post, or will somehow communicate with our software so that we can update our database. if ther is a mailserver which will do this?

Declare Smtp Server When Send Email
My question is do ASP need to declare smtp server when send email using CDonts function?

Web Forms And SMTP On Server 2003 (CDONTS)
Not sure which forum this belongs in, so here it is here as well as in the IIS forum

I am migrating a Windows 2000 Server Web Server with an older version of IIS to a new Windows 2003 Server with IIS 6.0.....Everything is working properly accept web forms which simply send an email via a SMTP service installed in IIS:

this is the code: ....

Adding Smtp Server Settings To CDOSYS
i am having trouble getting CDOSYS to work, i have just changed from CDONTS (which was working fine), because i want to be able to email a webpage as my body Code:

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?

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.

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 ?

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?

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

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:

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 ?

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.

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?

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

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.

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 .....

CDONTS SMTP
I'm having problems getting the virtual SMTP server (in IIS) from
sending an email message that was created from an ASP script. The messages
are stored in the InetspbmailrootQueue directory but the computer isn't
sending these messages to the Internet.

SMTP Service
How do you change the port in which CDONTS will look for Microsoft SMTP
server? I have Imail running on port 25, and I have SMTP service running on
port 26. Any help you can provide me would be excellent.

Virtual SMTP
My server has POP but only has SMTP if sending to my domain, and not other domains (such as hotmail). I'm therefore wondering, if anyone knows of any scripts etc, that will allow me to have a sort of "virtual" SMTP server on my site?. (I really can't afford to use a third party SMTP mailer).

Create .eml For SMTP
Does anyone have an example of how to programmatically create a .eml?

Secure SMTP App?
I have a client with their own W2k server and their IT guy refuses to turn on the SMTP service for fear of it becoming hijacked by spammers.

However, they also want their web site to perform some emailing functions I would normally use CDOSYS for.

I'm having them look into alternate SMTP servers to use with CDOSYS, but I was wondering if anyone here can recommend a 3rd-party ASP-based SMTP app that might be more secure than IIS' built-in service?

SMTP Settings
I'm trying to send mails from asp page.Its showing error.Permission denied.When I checked the IIS settings SMTP server showing unnknown. I cannot start the SMTP server. Wat shall ido to start the smtp server.

SMTP And CDONTS
I get the permission denied error, so I know its a permissions problem on the mailroot folder.

My question is then, if my site is being hosted, would it matter what the permissions
of the folder on my local computer are? Or would I have to call my host and ask him to make the appropriate permission changes?

And if you could tell me what exactly I need to ask/tell the host, if that is the case,
so that I don't have to call a million times.

Smtp-auth
I have an application written in ASP, originally for a Windows environment, but now has been ported to Sun Solaris running Sun One ASP. One of my pages includes a form that sends data to several people via e-mail. Sun One ASP uses ChilliMail the is similar to CDONTS.

Sending to addresses hosted by my ISP works fine, but I need to send to other addresses as well, which fails because my ISP uses SMTP-AUTH.I need to send a connection string including an identifier and a password.which tag it should be attached to? .HOST, or . FROM

Sending Email Without SMTP?
can we send email from our internal server without using an external SMTP provider?

Can The Iis/smtp/mailroot Directory Be Changes?
Server 2003...

I want to locate inetpub/mailroot someplace else...

There does not seem to be a property or any obvious way to do this.

Can this be done?

SMTP Mail Question...
I run a small website for a membership organization - and I have created an
ASP front end for an access database that allows the board members to manage
their membership roster (names, addresses, membership dues paid, etc)...

Part of the site is an ASP SMTP script that allows members to send emails to
all the people listed in the access database. It's a simple script that
just loops through the database and sends an individual email to everyone in
the database. There are a few drawbacks to this method...

The email gets sent from my server, but the return address listed in the
email is from the individual user that sends it. As a result, a percentacge
of recipients don't get the message, because their mail server does a
reverse check and finds that there is no matching account on the originating
server. It would be impossible for me to give all the users mail accounts
on my server - and it would be a redundant nightmare to manage it.

So, my question is: Is there a solution, like a listserv, which can be
integrated with an existing database of users? Obviously, I don't want to
keep a seperate listserv - the whole idea of the membership database is to
only have one database to update. ie: when a users email changes, I don't
want to update it in two places. Also, it would be nice to be able to
automatically identify obsolete addresses (bounces) and flag the records in
the database. And finally, I'd like to have a solution that solves the
reverse-lookup problem.

Does Bamboo SMTP Support BCC?
I'd like to bcc someone using Bamboo. I've tried setting smtp.BCC, but it doesn't work - gives an internal server error. Does Bamboo in fact support bcc?

Using SMTP To Send Email - The Only Way?
I was able to send email via the server in both .NET and ASP (using CDO for ASP). However I had to configure a SMTP server for this to work, which means the email will be sent via the server's SMTP service. so this could mean a lot of overload on the server. So as to reduce the work on the server, is there another way to send email to people?

Cannot Restart SMTP Service
I have a big problem with the SMTP service in IIS on Windows Server 2003.

I tried to install FTP service on windows Server 2003 but had to cancel it as it did not appear to be working. Since then, i went back into IIS Manager and all services were stopped. I have got the default web site services started OK, but the SMTP service is stopped, and right clicking and selecting start does not start it running again. I just get a dialog box saying that the service isn't running and to start it running again (!!!!! That's what i was trying to do!!!!!!!!)

i also tried to restart it from DOS and got a message saying that the service was already running!!

i have also tried to stop the service from DOS and get a message saing that 'The Service could not be controlled in it's present state'!!!

Using CDOSYS And The SMTP Service In IIS
I am running Win XP and have installed the IIS SMTP service, however I'm not sure what I need to do to configure both the SMTP service and CDOSYS properly to allow me to send out email from an ASP script.

THE PROBLEM:

What is happening is the email is not sent and goes to the 'c:InetpubmailrootQueue' folder. I have checked the event viewer and the error I receive is:

Message delivery to the remote domain 'yahoo.com' failed for the following reason: The remote server did not respond to a connection attempt.

I believe the SMTP service isn't setup correctly or I haven't configured CDOSYS properly in my ASP script.

The CDOSYS part of my ASP script is setup as follows (I am using Javascript as the ASP language btw): .....

Cannot Send Email Using Xp Pro And SMTP
I am having problems trying to send emails using IIS 5.1 and ASP on a XP Pro box

I think that it is a configuration problem in my SMTP setup

I can send emails using Telnet but when I send via ASP they all end up in the Queue folder

ASP is not generating any error messages

Have tried code using CDO and CDONTS but I do not think it is a code issue

Sometimes I get a system event error saying that cannot do a DNS lookup on my send address

Any suggestions please

Properties for SMTP on my system:

General IP address : all unassigned
Access Relay: {my computer IP address}
Delivery Advanced Smart Host: mail.bigpond.com
Delivery Advanced Fully qualified domain name: {my computer name}

IIS & SMTP Mail Sending
I tried to cend mails with CDONTS.NewMail and the local smtp service of the iis. It works. BUT I tried to send a mail to a invalid address. I got an email (like I configured at the smtp) but the badmail directory is allready empty! I nned the entries for a bounce-management!

SMTP Authentication With CDOSYS
I need a password in order to rout emails through the server that I'm using.How can I submit the password with CDOSYS

Pickup Folder For SMTP
I know it is a stretch topic-wise,but there is only one SMTP group and very little in the way of anyone answering anyone else. I am writing a file to disk using ASP. This file is to be written to the SMTP pickup folder. It includes the correct basic headers and works. The headers include

X-sender
X-receiver

Can anyone tell me where to get info on how I go about sending an attachment this way?

CDO, SMTP Doesn't Send Email
I'm using CDO object to send email but it doesn't send any email and it does
not give an error.

My code look like this: .....

Sending Email With Smtp Auth
i've been looking EVERYWHERE and I can't find anything on how to send an email within asp. But not just an email, my smtp server requires authentication and i haven't been able to come across anything that supports sending username/passwords.

Email With CDOSYS SMTP Mail
I've been using CDOSYS Mail and this bit of code fine for a year. Well, we wanted to change the method of sending email from the Webserver sending it, to designating a specific SMPT server.

So, I found this code on MSFT's web site (MSFT CDOSYS SMTP ) that will allow me to do this, and it works, except that the redirect command that I have at the end of the file no longer works. I have no idea why.

Thi is the error I get:
error '8004020f'
/asp/send_email_foundation_conf.asp, line 78

Code: ...........

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!"

How To Read IIS6's Smtp Logs
i need to parse smtp logs to check the delivery status. from previous experience with smtp logs, i was under the impression that the log file followed a very specific format:

EHLO
MAIL
RCPT
BDAT
QUIT

in this case, however, i've got a log indicating commands being issued like this:

EHLO
EHLO
MAIL
MAIL
RCPT
RCPT
BDAT
BDAT
QUIT
QUIT

i have a separate list from a database of people i attempted to send emails to and need to try to look at each line in the smtp logs until i find a matching email address, then continue to read until i find a line that includes the string "+Queued+mail+for+delivery" or any of the other strings indicating the delivery status. however, given the odd sequence in which the mail commands are being issued, i don't seem to have any way of knowing if the delivery status notification line i'm reading really reflects delivery status info about the email address in question or if it's referring to one of the other delivery requests issued with another one of the EHLO commands. i've tried looking to see if there's something unique about the delivery status line to see if it's in some way associated with the RCPT line, but don't see any patterns:

2005-10-05 11:12:30 10.1.208.103 OutboundConnectionCommand SMTPSVC1 ACME -
25 RCPT - TO:<person@acme2.com> 0 0 4 0 50 - - ......

Cdonts, Iism Smtp Issue?
I wrote a simple asp script that'll send an email to myself. Unfortunately, all the emails are stuck in the smtp queue. This happens when I try and send an email to addresses in our company domain. If I send to yahoo, gmail or anywhere else I do not have any issues..


Copyright Đ 2005-08 www.BigResource.com, All rights reserved