Send A Link In An Email With CDO

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


ADVERTISEMENT

Send Email With Link To Current Page

How would I send an email to someone from a webpage with a link to the
current page? I've seen this where you can put in your email, the person's
email that you are sending teh page to, a subject for the email, and a
message along with the link.

View Replies View Related

Send Link

I have a function which sends email to the user..on click of a button..everything is working..but i am unable to send the link with users reference number. My code

sendemail(refno)
'
'
'
mailmessage=mailmessage & "<A href=http://localhost/mailer/TestPDF.asp?referenceno=refno"
'
'end function

where refno is a variable..I have checked that value of refno is getting passed..but not to the above line.

View Replies View Related

Cdonts Email Script Won't Send Email

i used the following script but it won't send the email. any suggestions why?

<%
Dim TBdy
Dim MyCDO
CR = Chr(13)
Set MyCDO = Server.CreateObject("CDONTS.NewMail")
MyCDO.From = "person@something.org"
MyCDO.To = "allstar@aol.com"
MyCDO.Subject = "collegebound info"
TBdy = Request.Form("cb_name")
MyCDO.Body = TBdy
MyCDO.Importance = 1 (Normal)
MyCDO.Send
Set MyCDO = nothing

%>

View Replies View Related

Email To Link

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

Unsubscribe Link In Email?

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

DISPLAY EMAIL LINK

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

Email Confirmation Link

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

Access Record From Link In An Email

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

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 View Related

Email A Link Of A Website To A Friend

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

Email Address Link Question

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

Email Link In Message Through Msgbox

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

Need To Do 2 Tasks Based On User Click On Email Link

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

Send Email With Asp

I'm new with asp and server thing so if somoene could help me to resolve my problems
it would be very great.

I'm trying to send myself an email but it doesn't work, no error message, I just don't receive any email.

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

I'm using IIS at my home to test this code.

View Replies View Related

How To Send Email Via ASP.net

Our local educational host doesn't have any COMs on their servers so I need
to use the built-in (if there is one!!) mail/smtp component of ASP.net to
send web form data via email.

Is there such a thing in ASP.net? My apols for the newbie question, but I'm
still an ASP classic developer.

Could somebody post me an example of how to use it.

View Replies View Related

Send Email In ASP

We currently have a form that is in PHP that after the user fill out the form and hit submit, this form send all the information via email to us. I like to know if there is a similar feature or way to do this in ASP.

View Replies View Related

How To Send Email In ASP

using the code below is how to send email using asp;

<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="martialdc@hotmail.com"
myMail.To="amboy416@yahoo.com.ph"
myMail.TextBody="This is a message."
myMail.Send
set myMail=nothing
%>

but i encounter this error;

There is a problem with the page you are trying to reach and it cannot be displayed.

attached with this thread is the file (send.asp) so that you can check it for sure.

View Replies View Related

How To Send Email

I am trying to develop a web site which involve in log in n to retrieve password. When a user forget their password they will use this service, after they enter their email address, i will send their user id and password to their email which allow them to see their user id and password, but i don know to to do this service which will automatically send email to user email address when they click the button .....

View Replies View Related

Send Email

I've got an asp page that uses CDO.Message and
CDO.Configuration to send an email.

I'm not receiving any of these emails normally (i.e. in
Outlook), instead they all end up in this folder :
Inetpub/Mailroot/Queue.

Could someone please explain what this means? Does this
mean the emails have been successfully sent?...or are they
waiting to be sent?

I'm pretty sure my smtpserver name is correct because i've
got the same thing going in .NET and it all works ok there
(as in I get an email thru Outlook). Just can't seem to
get it going in ASP.

Not sure if it this relevant...I'm behind a firewall, so
i'm assuming the smtpserver name is for a smart host,
which is fine in .NET, but i'm not sure how that'll work
out in ASP (eg. what do i set the serverport number to?)

View Replies View Related

Send Email On Asp

I've just downloaded a component called AspEmail (http://www.aspemail.com). When i tried to test my code using the localhost, it require sthe address of my SMTP server inorder to send the email.

I put "localhost" as the address but i cannot send the mail for some wierd reason. I check the badmail folder just to find some mails under the "queue" folder.

I've tried the same code in a different pc, and i got a different error: AspEmail: Simple.asp
Error occurred: Connection timed out.

Does any body know how to send email using that aspemail component on localhost
Appreciate it.

View Replies View Related

Send Email

I want to implement a function to send emails to the registered users from my web site using ASP. The problem is that the web server provider I'm using does not support any email components (such as CDO, CDONTS, or third-party) or SMTP server.

Therefore I'm looking for some free email/SMTP provider which enables me to send the email information from my ASP web page to their server and it will forward it as ordinary emails to the recipients.

One way to do it could be to set up a html form with fields to hold the email information (recipient addresses, sender address, subject and body) and send it to the service provider. Something like: ....

View Replies View Related

ASP Send Email

<%
Set Mail=Server.CreateObject(“CDONTS.NewMail”)
Mail.To=”me@mydomain.com”
Mail.From=”testing-my@SP-Script.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
%>

Can I use the above code, if my pc is running on Windows XP Professional Edition?

View Replies View Related

Send Email Somewhere

I'd like to get opinions on how this can be done. The brief background is that there is someone who, on a daily basis, puts together an email with links and text related to immunization.Would it be possible to automatically: receive this email; fit it into a database; then have a web page read the contents of the page from the database?
e.g., the web page could be told to present the text with the highest record number (assuming each new email is entered in as a new record).

View Replies View Related

Send An Email

I want to send an E-mail whoever registers to my website. How do I do it?
I visited www.w3schools.com but it is not working.

View Replies View Related

How Do U Send Email

How can we send email to the given email id with the current page text as the body text of the email.

View Replies View Related

Send Email

I try to send email, however i have a problem

set mailmsg = Server.CreateObject("CDONTS.NewMail")

mailmsg.To = "xxx@mail.com"
mailmsg.From = "yy@mail.com"
mailmsg.Body = "This is a test message."
mailmsg.Host = "xxx.host.com"
mailmsg.Send

With this code they work fine but if i do this code
Set oConfig = CreateObject("CDO.Configuration")
to do smtp authentication i received the error that object can be created, because pc of my web hosting have linux with operating sytems and have installed a package to run asp.
Can anyone know other object to do smtp authetication.

View Replies View Related

CDO Send Email Using IIS

i have created a form that emails the data once the submit button is pressed...however i am not recieving the email message. Im not sure if it is because im developing with IIS and its not able to send from my local computer or if it is my code. here is the basic action page

<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="test@tvds.ca"
myMail.To="k.letendre@tvdsb.on.ca"
myMail.TextBody="This is a message."
myMail.Send
set myMail=nothing
%>

View Replies View Related

How To Send Schedule Email In ASP

I have developed a website in ASP 3.0 and Acesss 2000/SQl
Server.

I wan my web site sent invoices to my customer
automatically ...at some specified time
(lets say it execute ceratain ASP page at 3:00 am that
send emails)

how can i schedule that?

Should i write some program (EXE) that will run on web
seerv to do this task or do we have soem other decent
solution?

View Replies View Related

How Can I Send Email Via My Web Site?

how can i send email via my web site?

View Replies View Related

Send A Form To My Email

Basically I have a page and I would like to have several forms on this page where a user can input thier email address and a short comment, then click on send and i get n email with the details.

I know how to set up a basic form but I have no idea how to send it, can anyone help me and show me what to put where to set this up on brinkster please.

Oh and I would prefer to use ASP if thats possible.

View Replies View Related

Send Email After Posting?

I have the following script that posts a message to the guestbook database just fine. Now what I need it to do is send an email to my email address that would contain a link to my edit page where I can click to go edit it. The link should have the message_id included in it because that is how I want to choose the record through the edit page, now how do I change the below script to do this?

<%@ Language=VBScript %>
<%
On Error Resume Next
    Dim oCat, strADOXTableName 
    call GetADOXConnection
    message=""
    mypage=Request.Form("targetpagenumber")
    if mypage="" then _
        mypage=1
    myaction=Request.Form("todo")
    if myaction="" then myaction="add"
       if myaction="add" then _
              myaction="added".........

View Replies View Related

Send Email On Error

Is it possible to redirect the server to another ASP page if the requested page throws an error? I want to redirect the user to a custom error page and then send the webmaster an email that contains the error message.

View Replies View Related







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