Sending Email Doesn't Work!

Well im trying to send an automatic email when a user click on a link or submit a form...ive tried the CDO and the CDONTS method but both do not seem to work
In fact its on an intranet where a user will request for a particular document and as the user clicks on the document an email is sent to a person who will receive the request...is there any configuration before using these codes...or is there any specific things i need to ask the system administrator for that code to run.. Code:

View Replies


ADVERTISEMENT

CDONTS Doesnt Work Always

I am using CDONTS to send mail to the user from my ASP application.
However, the code doenst works all the time. I am able to get mails but
nothing happnes most of the time. The code works maybe once in 20 tries.
What could be the reason?

View Replies View Related

CDONTS Doesnt Seem To Work

i posted earlier, and the response seemed to be there is
another dll i need to use the cdonts object, i used it
fine for awhile on my old setup, i upgraded to 2k3 and it
errors up as if cdonts isnt an object. So is there a dll
i need to have to use the cdonts object in iis 6 or do i
need to rewrite my code to use cdo? (if so, please provide
asp 3 example on how to send an email with recepient,
sender, body and subject)

View Replies View Related

Why FileSystem Doesnt Work Wit My IIS 5.01 On XP

I have got a problem wit da FILESYSTEM in ASP coding. Before I use window 98 installing PWS. Everything works fine....

And now, I use Window XP professional ( Laplop ), everything is updated ( Service Pack, .NET component, ASP.net stuff...

All my ASP code with FileSystem which used to be properly ran cant be executed on my XP server.

There is no message error on da page, but the browser icon keeps spinning and da content is blank, it means u dont see anything happens. I wanna ensure dat all da code is right, cos it work properly with PSW and other servers. I even tested with a simple code, but It still doesnt work..... Code:

View Replies View Related

Ntext Doesnt Work With ASP

I'm using SQL Server and I decided to convert one of the fields from nvarchar to ntext. The transition in the manager was all right, but my ASP pages wouldn't display the ntext and there is no error message. I use Code:

<%=rs("Text")%>

to display the ntext...and there is nothing.

View Replies View Related

GetRow Doesnt Work

I have a database table with several records. Now I am filtering some data based on the "where" statement. If I run the query in analyzer then I get 20 rows. If I run the same query in asp and assign GetRows() to an array, then the array returns only 4. I am not sure if I am using the GetRows wrong. Here is a snipp of my code:

View Replies View Related

Formmail Email Page Won't Work After Windows 2000 Update

I'm using formmail.asp which is an emailing utility. Basically, the user
fills out a request page, clicks "Submit" and the page posts to formmail.asp
which emails the user information.

I'm running IIS5 on a Win2k server box and recently ran the Windows Updates
(the last time I do that). Anyway, that emailing form doesn't work now on
any of the sites I host. Any ideas?

View Replies View Related

Sending Email

I have a few queries regarding on email. Currently my web hosting provider uses Windows 2003 Server IIS 6.0 to host my ASP websites. In my own PC, I am also currently using Win XP Profession IIS 6.0 to run my ASP files.

I would like to create a pogram that would automatically sent out an email. But the problem is I have know that CDONTS do not work for Windows 2003 Server or XP Professional. It only currently work for Win 2000 Server.

Please help and perhaps show me the code of sending an email out automatically. Is there a code that can work for all servers?

View Replies View Related

Sending An Email From Within ASP

I have a form which will be processed by being sent to an ASP page. I would
like the ASP page to take the data from the Request.QueryString (which I
know how to do) and format it so I can have it emailed to me in a nicer
format. My problem is that I do not know how to have ASP send an email. I
know how to send an email using the mailto: protocol by making it look
something like the following:

MAILTO:username@mydomain.com?SUBJECT=mysubject?MES SAGE=mymessage

However, this will usually take the user to their default email client and
ask them to send an email by putting the specified subject and message in
for them, but wait for them to do any desired editing and click their send
button. I simply want the email to be sent straight from ASP. Is this
possible?

View Replies View Related

Sending An Email

Can anyone provide me with an example how I can send an email through ASP.NET!

View Replies View Related

Sending Email

I have made a .asp file in order to send email to my Join Bytes!:

<%
Set mail = Server.CreateObject ("CDONTS.NewMail")
mail.To = "email@email.com"
mail.From = "mail@mail.com"
mail.Subject = "email subject"
mail.Body = "email body"
mail.Send
%>

The smtp function have been installed with the IIS, there is no error and the .asp seems running properly but I can't receive any email, any wrong?

View Replies View Related

Sending Email

i have to do a project regarding employee transfer in which sending email to concerned employees yet to be transferred play a pivot role.

View Replies View Related

CDO Not Sending Email

I've been using CDO to send email from my web server for a while now but
today the emails aren't being sent. They are in the queue folder on my
server. I've restarted SMTP service but that didn't work. How can I get
these sent?

View Replies View Related

Sending Email

how can send email using ASP?

View Replies View Related

ASP Email Sending

Im have made up a form that sends the information via email to an email address. Whenever I test the form though, the email does not display in HTML format. The email displays the html code but I want it to display as an html page.

View Replies View Related

Sending Email Via .asp

Set ObjMail = CreateObject("CDONTS.NewMail")
ObjMail.From = emlFrom
ObjMail.To = emlAddress
ObjMail.Subject = emlSubject
ObjMail.Body = emlBody
ObjMail.Send
Set ObjMail = Nothing

I recently upgraded my webserver from NT4.0 to Windows 2003 Web Edition. Now, the above code no longer works. It worked great on NT4

What do I need to do to make it work with my new server?

View Replies View Related

Sending Email In ASP...

I am trying to send an email to someone as the person clicks on a link...i have been trying the CDO, CDONTS, JMail and other methods but none of them work!!an example is as follows:

Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="mymail@mydomain.com"
myMail.To="someone@somedomain.com"
myMail.TextBody="This is a message."
myMail.Send

I Im getting this error:

CDO.Message.1 error '80040220'

The "SendUsing" configuration value is invalid.

View Replies View Related

Sending Email With ASP

I need a way to send an email using a normal HTML form and then taking those values and sending them to myself.

View Replies View Related

Sending Email

Could someone advise me on the best way to send email either using asp or html? I'm not sure which way would be best. Basically I have a page confirming that data has been entered into a database and displaying what has been entered. I then want to have a link to email the information to someone. The email address has already been entered into the database.

View Replies View Related

Sending Email With CDO

I asked how to send an email using CDO instead of CDONTS and got several responses. They were all good, I tested the code and it works well. However, I forgot to mention that I need to set the email body to be in HTML rather than in plain text format. Would appreciate if someone could post a complete example on how to do this.

View Replies View Related

Sending Email

I have tried to use this peace of code to send test email

If Request.form("submit")="Submit" Then
Set objMail = CreateObject("CDONTS.NewMail")
objMail.To = "alex@alex"
objMail.From = "alex@alex"
objMail.Subject = "Feedback"
objMail.BodyFormat = "0" ' -- HTML format
objMail.Body = "Name: "
objMail.Send
Set objMail = Nothing
end if

It works fine but when I go to the drop folder it is filling it with hundreds of emails. When I look inside pickup folder there is only one email message. Does anyone knows why the drop folder is constantly filling with new email messages?It looks like it repeats it all the time like some kind of loop.I am using it locally for testing only

View Replies View Related

Sending Email

I am using an asp page to send email from a access database. I would like it to send an HTML version if it can, and if not then it will send plaintext. I have seen this feature before, but not sure if asp can handle it.

View Replies View Related

Sending Email

I have written a code to send email through asp. I want to make particular text bold or underline in the main body of the message. Code:

View Replies View Related

Sending Email Using ASP

I want to test my mail method, when i was setting up IIS i installed stmp so thats ok. When i send the mail it goes into the mailroot folder and into a folder called queue but it does'nt actual send to the address?


Set EnquiryMail = CreateObject("CDONTS.NewMail")
EnquiryMail.From = "admin@nci.ie"
EnquiryMail.To = Email
EnquiryMail.Subject = "Access to NCI Recruitment"
EnquiryMail.Body = BodyText
EnquiryMail.Send
Set EnquiryMail = Nothing

View Replies View Related

Sending Email Thru ASP

how to send emails ..thru asp code?

View Replies View Related

Sending Email

I have made one site for me, I have created one contact us page where user can fill the form and send his message to us. I am using SMTP to send email to my domain and I also want to send confirmation email to visitor but email does not go specially when domain are hotmail and yahoo etc.
I am using code like this:

Dim emailMessage As New Mail.MailMessage
emailMessage.From = "visitorsEmailAddress"
emailMessage.To = "myEmailAddress"
emailMessage.Subject = "Email from web"
emailMessage.Body = "Message here"
SmtpMail.SmtpServer = "myServerAddress"
SmtpMail.Send(emailMessage)

Can some body tell me how I can configure SMTP to send 2 way emails from my web page?

View Replies View Related

Sending Email

I scoured the forums and am looking for the easiest solution to send email through .asp.
cfm/php all have easy defined tags that allow this. Does .asp have a similiar solution?

I've seen a lot about cdonts,yet to read this,if there is another way,if not,i better start reading.

View Replies View Related

Sending Email

I have tried to use this peace of code to send test email

If Request.form("submit")="Submit" Then
Set objMail = CreateObject("CDONTS.NewMail")
objMail.To = "alex@alex"
objMail.From = "alex@alex"
objMail.Subject = "Feedback"
objMail.BodyFormat = "0" ' -- HTML format
objMail.Body = "Name: "
objMail.Send
Set objMail = Nothing
end if

It works fine but when I go to the drop folder it is filling it with hundreds of email. I thought my seting objMail to nothing it would stop sending it. When I look inside pickup folder there is only one email message. why is it happening?

View Replies View Related

Sending Email

the best way to send email either using asp or html? I'm not sure which way would be best. Basically I have a page confirming that data has been entered into a database and displaying what has been entered. I then want to have a link to email the information to someone. The email address has already been entered into the database.

View Replies View Related

Sending EMail In ASP

I just noticed the "Sending eMail in ASP" article. I started to put some of the code in my ASP application and realized that I don't know how to get a customers email address into the following statement;

Mail.from = "whatever.com"

I have the customers email address in a access database and on a form. What is the syntax to get the email address into the above quotes?

View Replies View Related

Sending An Email

Ok sending an email is simple but what I need to do is exclude 8 email addresses. before it actually sends the mail I need it to ckeck that the maill address is not on of the 8 specified can any on point me in the right direction. Code:

View Replies View Related

Sending An Email Every Monday?

I need to schedule a mail to be sent to the client on every monday....

View Replies View Related

Sending Image Thru Email + CDO

I'm using CDO message to send email thru asp code.
Below is sample code...

body = body & "<tr><td colspan=2><img
src=images/contacts_5.jpg></td></tr>"

I'm just confused why its not showing images in email
body? It just shows red cross mark in mail body...

View Replies View Related







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