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 RepliesI am trying to include an email link in the message displayed through a msgbox function. How can I do that? or can I?
View RepliesI 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?
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?
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:
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 RelatedI'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?
When I try to email a private message to someone who responded to my posting it tells me that i don't have priviledge. I am registered but don't understand why I cannot email a private message to anyone.
View Replies View Relatedi've a problem sending an email with IIS 5.1 (win xp pro). I was used to use deprecated CreateObject("CDONTS.NewMail") but i got an error. So i tried with Server.CreateObject("CDO.Message") and i got no errors, but i didn't receive any mail. I found some mail created in mailroot's subfolders. How can i solve?
View Replies View RelatedOk.. 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..
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.
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?
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 RelatedI am trying to send an email from some server side ASP code and the CC field
is giving me some problems.
The code works fine if I have one or 2 email addresses in the field (The
addresses are valid.) However if I have 4 it breaks. Now the good
part......If I copy the 4 addresses (that were causing the problem) into the
field a few times, so basically I have 16 addresses the code works!!
I don't get an error back from the code when it breaks and I don't see any
emails in the Bad Email, Pickup or Queue folders, the email just doesn't
sent at all.
Also if I put the 4 addresses into the BCC field it works fine. It only
breaks on the CC field....
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.
Code:
Set cdoMessage = Server.CreateObject("CDO.Message")
Set cdoMessage.Configuration = cdoConfig
cdoMessage.From = "admin@nyc-discusfanatics.com"
cdoMessage.To = strEmail
cdoMessage.Subject = "NYC-Discusfanatics.com User Registration"
cdoMessage.HTMLBody = "<html>" &_
"<body>" &_
"Hello "&strUName&"<br/><br/>" &_
"Thank you for registrating with NYC-DiscusFanatics.com Please activate your account by clicking the link below.<br/><br/>" &_
"<a href='http://www.nyc-discusfanatics.com/face/dragonball/AccountActivate.asp?UserID="&strID&"'>Activate my account.</a>" &_
"<br/><br/>Thanks for your registration." &_
"<br/><br/><br/>Vincent" &_
"<br/><br/>Administrator of NYC-Discusfanatics.com" &_
"</body>" &_
"</html>"
cdoMessage.Send
Set cdoMessage = Nothing
Set cdoConfig = Nothing
I got return email that the mail fail to deliever to AOL user. I assuming AOL email doesn't accept ASP script embedded in the email?
I'm just looking into modifying a script for an asp page and I've come across this code.
sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = Server.CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(sch & "sendusing") = 1
.Item(sch & "smtpserverpickupdirectory") = "c:InetpubmailrootPickup"
.update
End With
Set cdoMessage = Server.CreateObject("CDO.Message")
Could someone please explain to me what the sch reference is for and if I need it.
I'm going to create an E-mail message and use CDOSYS to send it. I think it's necessary to understand what's going on before I continue....
I have an ASP script for users to replying by email to job postings. I set
up the message using CDO as usual:
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.From = "blah"
objMessage.To = "myemail@comcast.net"
objMessage.TextBody = "blah"
objMessage.Send
I did not realize that objMessage.From needs to be filled in, and that
there is no vlaidation. Suppose that's how spammers work their magic.
Is there a way to determine the user's email account so I can fill in
objMessage.From ? I am thinking No, that a server app can not strip
something off a user's PC memory. Otherwise I will have to set
objMessage.From to a generic term.
I'm having no luck sending an email message from an asp page with UTF-8 encoding so that Japanese characters can be correctly rendered.
View Replies View RelatedMy 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")'
I'm trying to send email through a form I created and everything works except the email portion. It's not sending the text message. Code:
View Replies View Relatedim trying to use the MsgBox function in the following to display an ASP
MsgBox containing text retrieved from the db into a recordset
<%
set rsMessages= myRecordset
msg_text = rsMessages.Fields("msg_text")
msgbox(msg_text)
%>
this generates a permission denied error b/c msgbox needs to run client side
so i tried the same code but used
<SCRIPT LANGUAGE="VBSCRIPT">
</SCRIPT>
in place of the <% %> tags
but now i just get an empty message box
i must be misunderstanding something with the way the msgbox function works
in terms of client side vs server side.
How to create a pop up msgbox with an 'OK' button?
View Replies View RelatedI've inserted a MsgBox in some VBScript on line 12 of an .asp page and get
the following error:
Microsoft VBScript runtime error '800a0046'
Permission denied: 'MsgBox'
/default.asp, line 12
The script processes a form and other than this problem with MsgBox, the
script works fine. I've Googled the error but so far haven't found an
answer that applies. Any idea what the problem might be and how I can get
it to work
when I try to use msgBox function in my asp page it gives following error:
Microsoft VBScript runtime error '800a0046'
Permission denied: 'msgbox'
/sixsigma/acquiring/miscEntry.asp, line 50
if there is a Msgbox command on ASP langage which has the same fonctionality of the msgbox command with Access 97.
View Replies View Relatedi found this function msgbox in VBScript contents of my book but when i write somthing with it the browser report an error, is that because msgbox function couldnt be available for ASP ?
View Replies View Relatedi have a page where user has to enter some data, when they click submit button, the required fields have to be entered. otherwise, message box will prompt out to warn the user. my code is as below:
<%
Sub validEntry()
If txtCUser="" or txtCPass="" or txtCRe="" or txtCCom="" then
MsgBox "Please fill in the required fields",48,"Warning"
End If
End Sub
%>
but i get an error everytime i try to run it:
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'MsgBox'
I running a JavaScript page with a timer. When ten minutes are left I want a msgbox to pop up asking the user if they would like to purchase more time or just continue.
Can I have a button that if clicked would take the user to a purchase page and another one that simply closes the msgbox. If it is possible can someone point me in the direction? I have made alert boxes, but never one that links to a page.
Here is my MsgBox code in my coding, how can i retrieve whether the user click yes or cancel?
msg = "Are you confirm to delete this forecast? " & myYear
Response.Write("<" & "script language=VBScript>")
Response.Write("MsgBox """ & msg & """ ,1, ""Alert""</script>")
when I try to use msgbox I get a permissions denied error, can anyone tell me why?
View Replies View RelatedI want to create an onClick event that displays the user with a prompt to let them know that they're leaving a secure site. The prompy will have a Yes/No option. The error says:
"Permission denied: 'MsgBox'"
Below is my code: Code:
Dim warning
warning = MsgBox("You will be leaving the secure site." & Chr(13) & Chr(10) & "Continue anyway?",4, "WARNING!!!")
<a href="http://www.bma.org.uk/ap.nsf/Content/accesshealthrecords" target="_blank" onClick="<% Response.Write(warning) %>">http://www.bma.org.uk/ap.nsf/Content/accesshealthrecords</a>
Hey there, I have a few links in my site similar to this one.
<a href="mailto:contactus@timber.com?Subject=Contact%20Us">
When a site visiter clicks on to this link, it starts up your default browser.
Anyone know how to insert a message in the body of the email?
Something like...
Im running a simple mail system program which emails newsletters to a database list of 3000+ users.
The program loops through a database containing the emails and sends them out using ASPEmail.
My question is, is there some way i can validate each email address so that if there are invalid characters e.g. the space in "blah @blah.com"
it will skip the record and continue the loop.
At the moment i have a working program however, whenever the program comes across an invalid email address it stops at that record and prevents the program from emailing any further.