Mail To Function
I'm trying to send an HTML page as an email (to an HTML-enabled mail app), is this just an extension of the 'mailto:' <a> tag? any help would be great.
View RepliesI'm trying to send an HTML page as an email (to an HTML-enabled mail app), is this just an extension of the 'mailto:' <a> tag? any help would be great.
View RepliesI am using a simple guestbook /portal and i want script to send mail to the thread owner when someone reply his message.
this is the send message code ....
What is the mail function in asp?
View Replies View RelatedI need to collect data from a form. The form consists of 4 checkbox's and a text field. I want to be able to send the data collected back from the form to an email address, how do I do this? I can post the code if it helps anyone?
View Replies View RelatedI 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:....
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:
Here's the scenario. I'm currently using cdosys/asp to send mail to
our SMTP server. We use a product called MailFilter to check for SPAM.
It doesn't work very well. If MailFilter isn't working cdosys also has
problems and emails don't get sent. As these email are confirmations
for customer's bookings this means lots of customers calling to see
where their confirmation emails have gone. The root of the problem is
MailFilter but that here to stay. So I had this thought of sending the
message to a queue of some sort so at least they will get to the
customer eventually rather than being lost for good. So here's the
question:
Can I/How do I send messages to a mailbox on our exchange server using
cdo.message?
I'm using CDO from my vb component to fire email. The problem is
whenever one of the email addresses in to, or cc is wrong then none of
the mails are fired even to the correct addresses. It gives an error
like
The server rejected one or more recipient addresses. The server
response was: 550 Relaying denied for <xfd@wre.com>
My code goes like this. Why is the mail server trying to look for the
validation of email ids??I want that atleast the mail should be fired
to the correct email addresses rather than no email fire. Can i
achieve that.
Dim iMsg As New CDO.Message
Dim iConf As New CDO.Configuration
With iConf
.Fields.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Fields.Item(cdoSMTPConnectionTimeout) = 10 ' quick timeout
.Fields.Item(cdoSMTPAuthenticate) = cdoBasic
.Fields.Item(cdoSendUserName) = "username"
.Fields.Item(cdoSendPassword) = "password"
.Fields.Item(cdoURLProxyServer) = "server:80"
.Fields.Item(cdoURLProxyBypass) = "<local>"
.Fields.Item(cdoURLGetLatestVersion) = True
.Fields.Update
End With
Set iMsg.Configuration = iConf
With iMsg
.To = strToEmail
.From = strFromEmail
.CC = strCCEmail
.BCC = strBCCEmail
.Subject = strMailSubject
If strMailFormat = "TEXT" Then
.TextBody = strMailBody
Else
.HTMLBody = strMailBody
End If
If strAttachment <> "" Then
.AddAttachment strAttachment
End If
If intPriority = 2 Then
.Fields.Item("urn:schemas:mailheader:X-Priority") =
cdoHigh
.Fields.Update
End If
.Send
End With
What's the difference between private and public functions in ASP? When should I use either?
I would like to know if this can be achieved! On the form I a drop down menu that's called ("Escalation_type") the values are eta, hdtv, and supervisors. I have some ideas but I am not sure if it will work or not. If the use chooses an eta as a value I would like it to be sent a mailbox for exam: no@where.com. If they choose hdtv as value I would like it to be sent to a different mailbox. Can this be achieve by using the case statement or the if statement?
View Replies View RelatedI'm looking for an asp code who can send an email without using a mail component. I started to write somethings using winsock but I don't have enough time to finish it.
View Replies View RelatedCan I define a function inside a function. e.g;
function abc()
function xyz()
....some code.....
End Function
End Function
I googled this but can't find any related topic.
I want to use the instr function, but return results from it depending on surtain functions, I can't realy explain so I'll show my example:
I have a string in wich some word I want to find might be in diffrent Capital Letters order, I want the Instr function to return all the values of the place of that word (avcourse I'll run a for and increase the starting point of the Instr func until it returns 0). The instinct thought is to use the Lcase or the Ucase functions, but in this case I don't know how to use them. In the same Idea I wanted to use the Instr Func with the trim Func, But Its realy the same principle if I just understood how to do so.
Have created a contact page which uses CSS and am using asp mail object to send email on the page. However, I have encountered problems and think it might be down to the DOC type that am using ....
View Replies View RelatedI have to create a send mail code after registration had taken place. i want to know how to code for that ....
View Replies View RelatedOur company has recently migrated from Windows 2000
servers to Windows 2003 servers. Since the move to IIS 6,
I have been unsuccessful in finding how to configure the
server to support CDONTS to send smtp mail.
I have used this method in asp pages for years without
any issues, until 2003 server. I have even tried opening
the smtp server completely, and still no luck. I can send
mail using OE through the server, so I don't believe it's
an smtp configuration issue.
I am facing a problem,
I am using CDONTS for mailing,
and the following Code:
<%
set sendMail=server.CreateObject("CDONTS.NewMail")
sendMail.To="divyesh.shah@softsolvers.com"
sendMail.Body="Hello Testing"
sendMail.From="divyesh.shah@softsolvers.com"
sendMail.Subject ="Test"
sendMail.BodyFormat =0
if sendMail.Send then
Response.Write ("Mail Send")
else
Response.Write ("Mail Not Send")
end if
set sendMail=nothing
%>
I have two windows 2000 server, while running from one server i got the mail, while from the other i don't got the mail,on the second one the mail is dump in the mailrootqueue.
is there is some problem with the CDONTS setting on the second server, or some other problem
I have a simple ASP app (not ASP.Net) that I need to send email from.
Can anyone make a recommendation, and share why that's the best one?
(cdo, msxml, etc)
I am trying to get cdo.message working on my home development machine,
however, when I send it it appears to get stuck in the queue and never
actually gets sent.
If I don't have a domain SMTP set (either alias or remote) then I get an
error on page. But if I set these, the email just sits on the queue. I have
been trying to work it out from other posts and forums, aspFAQ etc but with
no joy.
Could someone supply a step by step guide to getting SMTP set up on a win2K
pro machine and how to get these mails out of my servers queue and into the
outside world so I can properly test code withing having to upload to my
hosts server and get the email back?
We use a custom built mail system at work. It is an asp based webmailing system. It uses cdonts.When we try to mailout to our clients (as a group) about 1500 of them, most of them get the full email. Others get about a third of the email.
View Replies View Relatedhow can i send the mail to multiple receipients like yahoo.mail or hotmail.
View Replies View RelatedI made a form in which I send the visitor a link to my page but when the visitor gets that link in the mail it dosent send him to the page just says invalid syntax or something like outbound. I'm not trying to spam
this is the code iput into body variable
text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"something<br>"&_
" Something<br>"&_
" <strongAnd something <br>"&_
" </strong>Something!<br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
I looked at code that works and its the same why dosent this work.
I was wondering what is the best method for mailing with asp? There is CDONTS and ASP MAIL and something else. What do you guys recommend?
I want to send my mailing list of 315 (its a celebrity gossip ezine) by html/graphic way. SO when a user checks their hotmail, they SEE the html message (I think this is called "in-line viewing" and not to have it come as attachments. Is there any script I can run and try out on PWS?
I am generating Purchase Order from database. Then i send it to the
supplier. I am using CDONTS to send mail.
I am not sure that it was sent or not.
So i need confirmation when they read it or received. How can i send a mail
with acknowledgement?
My mail server and web server are 2 different servers.
Both servers run win2k.
Therefore the web server does not have an SMPT server.
ASP throws the Server.CreateObject failed error when using a CDONT.NewMail object.
What I need to be able to do is configure IIS or ASP on the web server to look at the mail server for the SMTP server.
Is this possible? If so, how is IIS/ASP configured for this?
I'm trying to create a mail script "not formmail" to email me a test message using asp. Could somebody tell me what's wrong with me script? it doesn't send me a message???. I'm using windows 2000 & mailenable email server.
<%@ Language=VBScript %>
<%
Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NEWMAIL")
objCDO.To = "4@yahoo.com"
objCDO.From = "4@yahoo.com"
objCDO.cc = ""
Dim txtSubject
txtSubject = "Test Test Test"
objCDO.Subject = "Testing Email Script"
objCDO.Body = txtSubject
objCDO.Send
%>
<html>
<head>
<title>Comersus Diagnostics and Tools</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<img src="images/logocomersus.gif" width="194" height="57">
<br><br><b>Comersus Diagnostics and Tools</b> <br><br>
<body>
</body>
</html>
I created an Email sender to get emails out of my database, and send it! But when they get the Email it goes into Junk Mail, which most people dont read. Just wondering is there a way of sending the Email, and for it to NOT go into junk mail?
View Replies View RelatedI have an html page with a form on it. I need the information that a user fills into the form to be sent to an email address via an asp file....
View Replies View RelatedI use an ASP mail object to send orders filled online to a recipient via an e-mail. I would like to know if it's possible to format the way the order looks in an e-mail? I tried the following, but see no change in the format:
H1 = "<b><font size=2 color=#ED171F face=Verdana, Arial, Helvetica,
sans-serif>Order Type:</font></b>"
StrBody = H1 + Request(OrderNum) + vbCrLf
Then I get Order Type: just as plain as it would come if it didn't have any formatting.
If I do the following:
StrBody = "<b>Order Type:</b> + Request(OrderNum) + vbCrLf
Then I get <b>OrderType:</b> as the heading.
Does anyone know if it's possible to format the way the text look in an e-mail that is sent using the ASP Mail Object? Is there a different way of controlling the format/appearance of the text that appears in an e-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> .....
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?
I have already made the form to save itself in an online database. I need to mail it to myself too, what do you recommend me to do?
Some people recommended me ASPEmail, but I didnt understood how to make it works....
I Need to send mail to Outlook mail (Work group mail) From ASP. Ho do I do it?
View Replies View Related