Using Mailer On LocalHost

I have used Mailer successfully on websites before. This time, I am trying to run my Mailer code on localhost, with IIS. This line, which in general works, is now generating an error message:

set Mailer = Server.CreateObject("SMTPsvg.Mailer")

What I've tried so far:

set Mailer = Server.CreateObject("SMTPsvg.Mailer")
set Mailer = Server.CreateObject("CDONTS.NewMail")
set Mailer = Server.CreateObject("localhost")

I don't know if I should be trying something else, if I have to do something beyond the actual code, or if it is simply not possible to have mailer working on iis/localhost.

View Replies


ADVERTISEMENT

CGI Mailer To ASP Mailer

I currently have a CGI mailer that is running but not executing mail because there isn't an open relay between the mail and web servers, if I was on unix and had sendmail I would be right I think.
Now Im looking at going down the ASP route, would I need to open up a mail relay to get an ASP mail script to send mail? In this configuration?
I am running this on a Windows 2003 machine and looking at CDONTS.

View Replies View Related

ASP E- Mailer

I am having a heck of a problem getting this script to email correctly. A form generates all the values, and the script sends off confirmation email- except I don't get any of the confirmation emails I don't get any errors either. I've tried multiple email addresse
(in network, out of network, etc.)

Here is the code: ....

View Replies View Related

Asp Mailer

I tried sending a mail with an attachment . I am able to attach a .jpeg as well as .pdf file to the mail but the prob is when i try to attach and send a .doc file . i am storing the path of the file selected thru a browse option and then attaching that file to the mail with mailer.addattachment. It gives the correct path but does not attach the .doc file.

View Replies View Related

ASP Form Mailer

I have attempted to write an .asp script to post form data to my e-mail, however when I tried to move it into a separate file, I no longer receive it... or it might be the for..next loop I tried to use. Code:

View Replies View Related

SMTPsvg.Mailer

I know that the SMTPsvg.Mailer component is used to send mails from ASP
Page.
Can any body tell me where can I get the Component for download or Do I need
to purchase the component?
Is this Component is better than CDO ?

View Replies View Related

Form Mailer

I have only dundas and the free softartisans.com mail installed on my server.
Am wondering, who i could run mailer script that supports both html and graphics ?

View Replies View Related

Using SMTPsvg.Mailer

I have entered the following code and it works fine. The domain names and e-mail addresses have been changed to protect the innocent.....

View Replies View Related

Use Mass E-mailer

I tried using the one listed here http://www.aspfree.com/c/a/ASPCode/...rom-a-database/ but I keep getting an error which I've posted but haven't found an answer for yet. Does anyone know of any other one that I can use. I basically want to be able to pull a list of the emails out of my db and send an email to those addresses.

View Replies View Related

Error: SMTPsvg.Mailer

I'm using a block of ASP to allow a user to send a form via e-mail. However, someone keeps sending me spam through this form and they're using a bogus return address. I'm testing for a successful send, which should fail if the return address is not valid, but I'm still getting the junk.

The block looks like this:

Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "smtp.xxx.com"
Mailer.FromName = Request.QueryString ("Name")
Mailer.FromAddress = Request.QueryString ("Email")
Mailer.AddRecipient "Web Mail", "PCT2@xxx.com"
Mailer.Subject = "P.C.T. E-mail"
Mailer.BodyText = UserString
if Mailer.SendMail then
Response.Write " - Sucessful - "
else
Response.Write " - Failed - "
Response.Write Mailer.Response
end if

Should this block be stopping bogus From addresses? Or do I need to be doing something different?

View Replies View Related

ASP Dundas Mailer Question

I am still finding my feet creating a website in ASP, and i'm trying to get
to grips with users providing feeback to my site.
my webhosts have the dundas mailer installed, and i am trying to get it to
work for me.

does it work in conjuction with regular html? can i add a <form> and text
fields? and then will all that get sent with the page? .....

View Replies View Related

Sending HTML Mailer With SWF

I am trying to send the following HTML mail thru the ASP CDO component.

This is the HTML mail i wanna send from Page 1:

Code:....

View Replies View Related

CDONTS Mailer Limitations

I'm looking to manage an email list with SQL server and send out newsletters. Does anyone have an idea of the limitations of sending emails with CDONTS.MAIL object? How long would it take to send out 1000 emails via asp. I guess there are many variables with that, but that's say there were no attachments and we have 15k emails. These news letters really will only be sent once a month or so. But lets say our list grows to 10000 users or even 100,000. Is that a good idea to send 100,000 thousand emails through an asp page? I wouldn't think so .

View Replies View Related

Sending HTML Mailer With SWF

I am trying to send the following HTML mail thru the ASP CDO component.

This is the HTML mail i wanna send from Page 1:

Code: .....

View Replies View Related

CDO.Message Vs SMTPsvg.Mailer

The code below is for SMTPsvg.Mailer

I need to convert it to CDO.Message

Can somebody tell me what to do?

Do I need to replace eg:
Mailer.FromName = "" with Message.FromName = ""

and

The objects FromName with From?

If that is the case, it's not that difficult accept for I don't know all the objects for CDO .....

View Replies View Related

Automatic Mailer On Date

Does anyone know how to setup an automatic mailer to members in a database at the end of the month?

View Replies View Related

CDONTS Vs SMTPsvg.Mailer

I'm developing a newsletter module in ASP... I've worked with two mailing objects

1- SMTPsvg.Mailer
2- CDONTS

Please share your experience and suggest me one of them which one is more efficient. keep in mind that it will be a loop to send mail to two thousand members.

View Replies View Related

Actual From-Name With CDONTS Mailer

I'm trying out a simple CDONTS mailer and I'd like to see an actual from-name in the received e-mail (rather than the e-mail address). How would this be done??

View Replies View Related

Having Trouble With The Mailer.htmlbody Function

Basically the way it SHOULD work is a fixed sized window opens and displays two tables. The top table (id=fgWindow) displays the graphics; the bottom table has dropdown menus and text boxes.

I can make every item in the bottom window show up in an email (the Sub Button_Click), however I remain unable to get it to put the contents of the fgWindow table into the body of the email.

My only BIG question is, why won't it put the table that I have ID'd as "fgWindow" in the body of the email when I send it? Code:

View Replies View Related

Using Cookies In A Form Mailer To Review Data

I have an asp form mailer. when the form is submitted, it goes to a review page where the user can submit the mailer or print it out. the review page pulls the cookie information in fine. after its submitted, i get an email that just says:

Submit: Submit Form

here is the code on the review.asp page that brings in the code.

Code: ....

View Replies View Related

Multiple Field Form For This ASP Mailer Script

How do I convert this ASP mailer script to accept and mail multiple fields of a form. This will do one field only )iMesg.TextBody = Request.Form("body") and it works great. Code:

View Replies View Related

Displaying Image Using The Mailer Object In HTML Format

The code sends an automatic email, but the email is html format. At the top of the email i want to include an image.

Everything is working except the image is not being included, instead a box with a X appears.

Here is the code that i am currently using

Dim htmlMess ' THIS STORES THE HTML CODE

PHP Code:

View Replies View Related

Object Doesn't Support This Property Or Method: 'Mailer.Response'

Can somebody explain me why I get this error

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'Mailer.Response'

/Mailform.asp, line 284


This is the piece of code it refferers to.....

View Replies View Related

Localhost/IIS

I am trying to test a website that uses ASP on my PC. I am running Windows 2000 and have IIS 5.0 installed.The first page is a form where the user enters a password. When the form is submitted the progress bar indicates something is happening, but I can leave it for 20 minutes and the file has not loaded.

I am using the URL http://localhost/webname /.

I have tested it on 2 servers and the script works. I have had similar problems with other ASP pages and assume the problem is something to do with IIS.I have tried re-installing IIS.

View Replies View Related

Localhost

All this while I have been running my ASP pages on the webserver.
In the web server, I can access the web server through the Internet Services Manager.
Now I want to access these web pages locally, so that I do my development locally and then when it works, I move to the web server.
I have Windows XP Professional 2002
How can I access the web services within this machine?
When I type in http://localhost in this machine, i get the message-Page cannot be displayed. Cannot find server.

View Replies View Related

Localhost...

I just bought a new computer with win XP PRO. I'm trying to set it up so
that I can use it as a local host and with IIS etc. I don't really know where
to start. How do I start running IIS? At this point, pointing to localhost
doesn't work but I'm not sure what I'm supposed to be doing.

View Replies View Related

Localhost ..

I have downloaded this example from this site http://www.iisworks.com/fileman/ i have tried reading the install guide but i still dont understand. I manage to set up localhost in my pc. Anyone who is kind enough to guide me thru step by step....

View Replies View Related

Localhost

I like to learn ASP and database related, how do I practice it at home using XP pro? Like with PHP I use localhost and stuff.

View Replies View Related

Localhost

Is there a way I can run ASP on my localhost? I run a valid copy of Win XP pro, but I do not have the CD as it is a pre-installed version on my Dell Latitude. So, is there a way I can run ASP?

View Replies View Related

Sessions With Localhost

I am working with sessions to check if the user is logged in.
This usually works fine and all my .asp-pages checks if: <%
session.Contents("loggedIn")=True %>

But this only works on my web-hotel
When I run the same pages on my localhost, it can't find any sessions and I
appear to not be logged In.

I have tried to set my localhost on the "trusted sites" list and "always
allow" in "override cookie handling" in my Explorer.

View Replies View Related

Localhost Is Not Being Recognised

when I run my asp programs, suddenly I'm getting the page "page can not be displayed"

when it worked fine till the previous day suddenly what made those pages to be not recognized I didn't understand.

the browser is atleast not able to recognise the "localhost".

View Replies View Related

IIS Version 5.0 Will Not Run ASP On LocalHost

I have a new ASP project that I need to desperately test on my Windows 2000
machine before posing to my Hosting Company. I am having problems getting
the ASP pages to run from LocalHost. I will attempt to give as much
information of what I have done to try to correct this without success.

First my setup. Windows 2000 Professional with Service Pack 2 installed.
IIS is installed. I have turned off the firewall just in case that was a
problem as the laptop is operating as a stand alone and not on a network at
this time. I also have VB6 with Service Pack 6 installed. I will explain
later why that my be pertinent.

The error that I am getting is:

The Page Cannot Be Displayed. with a HTTP 500 error. This occurs every time
I try to access a ASP page. HTML works fine from LocalHost. Code:

View Replies View Related

Localhost Slow

I'm trying to surf on a website on winXP, but IIS response is very slow. It doesn't load a lot of images (red x). Besides, it alerts always there's no connection (from each page to the following), asking whether I want to connect. The browser keeps waiting for images then it fails. What can I do?

View Replies View Related







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