Sending An Email On Click Of A Link
What is the best way to be able to add a function to my advert at the bottom of a clients site, so that when clicked an email is sent to me, without having to refresh the page to do so.
Its so that I can do a survey on the amount of clicks my links are getting in the footer depending on the message i put there.
View Replies
ADVERTISEMENT
My app lists jobs for a recruiter. He wants to track members who have
replied directly to job postings. So instead of simply making the client's
email address an <a href="mailto:...> link, I need to do 2 things:
- add a record of their posting to a database table
- open the email client to the job
Howe do I do this? The first part is easy, but I don't know how to open the
email client in an ASP command (I don't really want to auto-sed email, just
open the client and let the user attach their resume and add their cover
latter). Do I have to get my Web Hosting company to install CDO, or is that
standard with all IIS? I get an error when I try to run 'Set MailObj =
CreateObject("CDONTS.NewMail")'
View Replies
View Related
I'm currently working on an events application and thought it would be nice feature to have a link next to the event which would add the event to Outlook calendar?
I've looked around but can't seem to find anything, except sits using this feature, no tutorials etc.
View Replies
View Related
I have a website that was initially generated by a program called ASP
Runner Pro. It's really nice, has my access database online (I run it on a
godaddy.com server) and I love the layout. However, I really want to make it
so that when I add a new DOCTOR to my database of doctors, an email is sent
to the doctor telling them that they have been added to the database. I plan
on editing the website files manually from Dreamweaver. I don't know how to
set up my email smtp server in ASP or anything like that though. I've
searched the forms desperately, but all instructions assume that I already
have setup my email smtp (which will be google) in my ASP, which I don't know
how to do.
View Replies
View Related
When I click "save" after adding a new record (which contains, among other
fields, the person's email address), I want an email to automatically be sent
to that person (at the email that is in the field of that record). How can I
do this?
View Replies
View Related
I would like to know how to go about sending a query to a database when a certain image/link is clicked by the user.
By this I mean e.g. table in a database called cd, primary key in table id. Each image/link has its own id number which refers to its record in the table.
So when the user clicks an image or link i would like it to preform a SELECT query using the id number.
How would i go about giving a link/image its own id number? I guess this is simple as i have seen it on many sites and have seen the query string at the bottom of the browser in status bar when you hover over image/link.
View Replies
View Related
I am using this code
<table border="1">
<%
Do While Not rstSimple.EOF
%>
<tr>
<td><%= rstSimple.Fields("username").Value %></td>
<td><%= rstSimple.Fields("password").Value %></td>
<td><%= rstSimple.Fields("email").Value %></td>
</tr>
<%
rstSimple.MoveNext
Loop
%>
</table>
How can I make the email field a hyper link?
View Replies
View Related
I have tried a simple asp page which send out an email with a message:"This is a testing". This has been done in CDO and it works fine. However, when I tried with:
objmail.htmlbody = "<a href=""http://www.hotmail.com"">Hotmail</a>"
it doesn't work pretty well. The following was the output:
Hotmail<http://www.hotmail.com>
How can I make it to display only the word "Hotmail" that links to http://ww.hotmail.com? Could anyone help me please?
View Replies
View Related
I have an embedded piece of flash in a page, sending an email variable out to an asp page which is inturn sending an email out to subscriber email addy, and inserting into database, this worx fine.
in the email sent out I have included a link to the delete.asp page so they unsubscribe,carrying the email variable on the end, however i think my syntax is slightly out with the quotes and double quotes and although with the email recieved in my inbox and then view source, the correct email is there, BUT when you click the link, it is not appearing after the .asp?email2=. and then obviously my delete is returning not found in database.
If i have the asp running in DreamW on the live mode and put the email in it recognises and deletes fine, so i'm guessing it is my syntax in the body/asp before sending the email. Code:
View Replies
View Related
I have an Access table field that contains email data. I can display the contents of that field to a page, using, <%= (objRS("email")) %>, but I don't know how to make it a hyperlink when it's written to the page.how to display the data as a link on the page, instead of simple text? Do I have to modify the Db record, the page or both?
View Replies
View Related
I'm using CDO mail in my asp scripts, and I need to find a script that whereas a user signs up for your website.
when he hits submit,an email goes to his email box with a confirmation link for him to click so to ensure he has a valid email address. Does anyone know of a package or series of scripts that works with this?
View Replies
View Related
Ok.. I have a form the user fills out. An email is sent to them and one to our office with a link to the DB so they can view all the info. My form works fine, my emails work fine. The info gets inserted in to the DB fine.
What I would like to do is:
When the link is sent to our office, I would like it so when they click the link it opens the DB right to the info from the link. You know, like when you get an email from here saying someone posted your link has it set so when you click it, it will go right to that post.
So there you have it, any takers.. I sure could use this, otherwise they open the DB and have to search for the info and they do not like having to do much work..
View Replies
View Related
I am just wondering how the function that we see on website that says "email this page to a friend" work.
I know that all the info is passed on via an email, but how is it actually code in asp?
View Replies
View Related
I can't remember the code for email address link. The program will open up default email service when the user click on an email. Do you know what I'm talking about?
View Replies
View Related
I am trying to include an email link in the message displayed through a msgbox function. How can I do that? or can I?
View Replies
View Related
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
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
Can anyone provide me with an example how I can send an email through ASP.NET!
View Replies
View Related
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
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
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
how can send email using ASP?
View Replies
View Related
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
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
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
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
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
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
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
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
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
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
how to send emails ..thru asp code?
View Replies
View Related