How To Send Mail Using ASP Through Proxy Server

My computer is at intranet,I want to use following code to realizing function of sending mail.But this program only can send mail between intranet.If I send mail in internet,I need to through proxy server,the proxy method is HTTP(proxy server:xx.yyyy.com,port:8080,username/password),I want to use this program to send from intranet to internet through proxy server.I want to know how to realize this function.My code is follows:

Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = frommail
objCDOMail.To = tomail
objCDOMail.Subject = mailsubject
objCDOMail.BodyFormat = 0
objCDOMail.MailFormat = 0
objCDOMail.Body = mailbody
objCDOMail.Send
Set objCDOMail = Nothing

View Replies


ADVERTISEMENT

Send Mail Using Lotus Notes Server

I’m using ASP with VBScript…and I need to send mails using Lotus Notes Mail Server (IBM).
How to communicate to the Lotus Notes Server and send mails?

View Replies View Related

Using WinHttpRequest To Send Xml Through Proxy => Access Denied

I have a proxy on the intranet, I try to send an xml to an external url, in classic asp, using WinHttp.WinHttpRequest.5.1, but I get access denied from proxy for sending the xml and also The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. Code:

View Replies View Related

Corporate Proxy Server

I work in a corporate environment where they have been restricting (preventing) more and more of what we can view on the internet.I think they restrict that through the proxy server... in Internet Explorer, in Internet Options under LAN Settings, we use an automatic configuration script.

Any way... to make a long story short and to be as truthful as possible, I still want to view my fantasy football web sites. My question is, is there a way I could code
something to get around this? For example, I do have space on a server that runs ASP, so could I code something that would allow me to get around this?

View Replies View Related

Web-based Proxy Server

I am making a web-based proxy server, and I need to make it so that it can download a webpage, and modify all of the links inside it (so that it can proxyfy all of the links, rather than the browser downloading the files from the original website).

So far the first bit is fine, but I still need to make my script modify all of the links inside the given HTML file. I know I can do it, but it wouldn’t be the most effective way of doing it. Does anyone have any suggestions on how they would search through an HTML script, and locate links?

So far what I am doing is searching for anything that one of these at the beginning of it:
href=
src=
background=

And I am changing the text that comes afterwards (thus modifying the link). But for many reasons, this is a really bad way of doing it.

View Replies View Related

MSXML2.ServerXMLHTTP.3.0 Proxy Server

Consider the following simple function to get the contents of a remote URL:

Function GetURL(str_URL)
Set obj_XMLHTTP = Server.CreateObject ("MSXML2.ServerXMLHTTP.3.0")
obj_XMLHTTP.Open "GET", str_URL, False, "", ""
obj_XMLHTTP.Send
GetURL = obj_XMLHTTP.ResponseText
Set obj_XMLHTTP = Nothing
End Function

Is there anyway that I can use a remote proxy server to make the request?

View Replies View Related

Send A Mail With Cdosys And Save A Copy In The Sent Mail Folder: How To?

I need some help: with cdosys i'm able to send e-mail from asp using the local exchange
server. Now I also have to save the sent mail into the user's mailbox for future reference: how to?

I'm using:....

View Replies View Related

Get Data From Form, Send To A Html File And Send A Mail

i am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:

View Replies View Related

Mail Insertion Hack On Send Mail Form

I'm using CDO to send mail to the site owner from ASP pages with forms.
Recently one of my forms is occasionally sending email with what seems
to be an insertion which is replacing the plain text part of the email
with something else. Looking at the server sent email source, the
hacked emails have the following:

View Replies View Related

Fetching A RSS Feed Through A Proxy Server And Displaying It On ASP Page

I need to display the contents of an external XML/RSS feed in an ASP page. I have found a couple of scripts that seem to do the trick at:

(URL address blocked: See forum rules)
(URL address blocked: See forum rules)/ow.asp?ASP_Based_RSS_Reader

(any good alternatives will be much welcome)

However, my problem is that the ASP page is part of an Intranet site, so it can only access the Internet (in order to fetch the RSS) via a proxy server.

Can somebody tell me how can I modify the above scripts (or any other that does the same) so the IP/port/login/password parameters can be passed along with the feed URL?

View Replies View Related

How To Send Mail

I have the code for the sending mail but i do not know to loop it. I have been given specification saying that i should send mail after registration and deregistration.

so i have a asp page given the action function of the register form so the page updates the registration done. so i given after registration the send mail code and want to have the loop or condition for the mail to be sent to the person who updates registeration
and code is as follows....

<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY> .....

View Replies View Related

Mail.send

I'm 99.9999999999999999999% sure there haven't been any code changes, since the date stamps of the code are older than any email 'failures'

The email piece quit working using the mail.send. If there haven't been any changes made to previously working code, where do I look for the problem now? I restarted the SMTPservice in IIS. Our real email is hosted remotely, I checked with the admin and she said no changes were made, i.e., not blocking port 25 traffic from the gateway.

I guess this isn't ASP specific, but any ideas how to troubleshoot this?

View Replies View Related

Cannot Send Mail From ASP Using CDO

I am sending mail from ASP program. My server is win 2k, IIS 5. SMTP
server is configured.

I am generating a report(purchase order) and the same sending as an email to
the supplier. upto last week it was sending well. Now its returning bounce
mail.

in the c:inetpubmailrootadmail contains the file(.bdr). The contents of
the file are ....

View Replies View Related

E-mail Send

I would like to know how can i nodify some users which are into my databese with an e-mail? How can i sent to them an "automate" e-mail using VB script.

View Replies View Related

How To Send Mail Through ASP

I tried the code given in this site,

<%
Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.To="rashwathama@yahoo.com"
Mail.From="rashwathama@yahoo.com"
Mail.Subject="Just testing my script"
Mail.Body="Hey! I am sending this email through an ASP Page and guess what? I
haven’t learnt much yet, but know that ASP is very powerful."
Mail.Send
Set Mail=nothing
response.write "DONE"
%>

But it did not work

I use Windows 2000 Server and Internet Information Service (IIS).....

View Replies View Related

Send A Mail

Where can i found the source code that allow me to key in myself email address and message and then key in friend's email address, after that my email address will be send out to my fren with my site URL and message that i typed?hope its asp file extension.

View Replies View Related

Can´t Send Mail

<i><b>Originally posted by : Serno (serno@worldonline.dk)</b></i><br />I´m using IIS 5 on Windows XP. When trying to send a mail using 'CDONTS.NewMail', I get this error message : <br />ActiveX component can't create<br />object: 'CDONTS.NewMail'<br /><br />Please help!!<br />

View Replies View Related

Send Mail

I'm using the following script for send emails.Recently, we migrated our server. Everything is working fine. Except the mailing.

<CODE>
set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost=Application("Remote_Host")

Mailer.FromAddress = strFrom
Mailer.AddRecipient "", strTo
Mailer.Subject = strSubject
Mailer.BodyText = strBody & vbCrLf & Application("EMAILNOTE")
Mailer.SendMail
</CODE>
I got the following error
ASP_0177_:_800401f3|Server.CreateObject_Failed

IIS versions are same.

View Replies View Related

Send One Mail To Client

i m creating city checkboxes from database table...so using this client can subscribe for various cites...after submit i m adding all his/her datails into subscription table ...i m adding all selected city into one colums branch_city...and after this i m sending email to corresponding subscription department of selected city....and only one email to client with the all city name he has been subscribed... Code:

View Replies View Related

Ways To Send Mail?

I am wanting to know what ways there is to send mail from a form such as CDONTS.NewMail.

View Replies View Related

ASP / Send Mail Question

I am having an e-mail being sent from a form submitting on a web page.

Right now, it is just a generic name (not a valid e-mail address) in the
Mail From box. "Web Server Request". How can I add a reply to piece to
this, so when a user clicks on Reply, it sends it to a valid e-mail address.

View Replies View Related

Mail Send .CreateHTMLBody

I am trying to send an HTML e-mail that sends a webpage from a website. Couldn't get it to work. I am able to send out the email, but body content does not show up on the email.

Set tMail=CreateObject("CDO.Message")
tMail.Subject="Test"
tMail.From="xxx@xxxxxx.com"
tMail.To="xxx@xxxxxx.com"
tMail.CreateMHTMLBody = "http://www.xxxxxx.com/xxxx.asp"
tMail.Send
set tMail=nothing

Any suggestions?

View Replies View Related

Send An Unicode (UTF-8) Mail

How can i send an Unicode mail with ASPclassic? I want to send an email in Farsi ( or same Persian ) I use this code but this is ...

View Replies View Related

Send Mail In ASP Using CDONTS

I had to write a page in ASP which sends an email. I googled and was able to write the following code:

<html>
<body>
<%
Set Mail = Server.CreateObject("CDONTS.NewMail")
Mail.To = "XXXXXXXXXXXX@XXXXXX.COM"
Mail.From = "YYYYYYYYY@YYYYY.COM"
Mail.Subject = "Test MAIL Subject"
Mail.Body = " Body Body Body Body Body Bodyody Body Body"
If Mail.Send Then
Response.Write("Mail has been sent successfully")
Else
Response.Write("Mail Sending Failed")
End If
Set Mail = nothing
%>
</body>
</html>

When I run this script on a shared hosting server, It's saying "Mail
Sending Failed". I had never written ASP code before and couldn't find
what the reason is.. I also checked whether CDONTS.NewMail component
is available.

View Replies View Related

Automatically Send E-mail

I need some free tools that would allow me to automatically send e-mails to somebody acoording to the current date (e.g. if I have a table in a database with some fellows and their birthdays, I would like to automatically send them a greeting e-mail, when their birthday is). I would preffer that tool be installed as a service.
It will be just fine if I will be able to use this tool in an ASP site.

Otherwise, how could I program such a tool (and what language would be the most appropriate)?

View Replies View Related

Send Mail With Jmail

I´m trying VP ASP Shopping cart, but the free version doesn´t allow us to
send an email to our customers and to ourselves with the confirmation of the
order.

I would like to know if there is any code sample or script that can easilly
be included when the invoice appears in the screen, so we can send the
invoice automatically by mail to the costumer to confirm the order and to us
to let us know the order was made!?

I would prefer to work with jmail, but if it´s not possible it can be
another.

View Replies View Related

Send E Mail From Web Page?

How we can build form to send e mail from web site? which component should we use?

View Replies View Related

Send Mail With CDONTS

I just found out that CDONTS was indeed installed on our web server so I've been playing around with some easy sample codes. However, when I run the code, nothing happens. I get no errors, it seems like everything went OK, but no email! Are there firewall issues with CDONTS? If so, how can I work around them?

View Replies View Related

CDONTS TO SEND MAIL

I'm not sure if CDONTS is loaded or what is wrong. On a new 2003 Web server w/FP extentions but mail is not being sent. In and ASP page I have:

set objSendMail = CreateObject("CDONTS.NewMail")

Which worked fine when I was using an NT 4 and IIS 4 or 5

View Replies View Related

Send Mail On Update. How Can It Be Done?

What I want to do is send an email (if the user has accepted to receive one of course) once the product page in my site gets updated.

This is how I thought of it. Once a user fills my form he will have a YES/NO email field in my access database, the date he was registered on and a number indicating the total number of products the moment he got registered.

Once the product number changes, I will perform a control on all users and send an email to those who fulfill the criteria

Hope that my idea is correct and can be done. But in what language should i write this thing? It should be integrated in my website or locally?

How can I make the script understand that my products have been updated thus triggering the email action? Should the control be set on a daily basis or something?

View Replies View Related

Auto Send Mail

I doing my sistem in localhost. I try to use the method below to auto send mail to the mailbox. But why i didn't receive any mail from it?

Dim objCDO
Set objCDO = Server.CreateObject("CDO.Message")
With objCDO
.To = "spch2o@yahoo.com.sg"
.From = "spch2o@hotmail.com"
.Subject = "Pemberitahuan Perjanjian Perbualan Sistem Penilaian Perisian Khusus Matematik"
.HtmlBody = "perjanjian anda telah ditetapkan pada...."
End With
Set objCDO = Nothing

View Replies View Related

Send Automatically E-mail

How to send automatically an E-mail when a user submit a form in ASP page?( for example send a congratulation E-mail with content " Successful Registration " to hisher E-mail address that heshe entered in submit form )

View Replies View Related

Send Mail From A Web Site

I'm looking for ASP script that can send mail from a web page but it sais that it can not attach a file from your local drive, insteat it can only when the file is attach on a server. so is there any way to attach a file from a local drive and sent it to email from web page?

View Replies View Related







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