E-mail From Database
I m having a problem where i have to e-mail a group of people thier e-mail addresses are stored in a table as usernames
i have the code for sending the e-mail but the problem is that i only want to e-mail a certain group of people out that table generated by a query.
so id search for people-click button to send e-mail->opens up the e-mail form and puts the e-mail address in either to or bcc how would i send those e-mail addresses generated by the query to the e-mail form page seperated by and paste them into the to or bcc text boxes
View Replies
ADVERTISEMENT
Is there any way to make it so I can send an e-mail and have it populate a database?
For example, if I sent an e-mail with the following:
John
Doe
1/1/1980
Male
It would populate a database, putting the information into a table with specific fields, firstName, lastName, DOB, gender.
Obviously a very simple and watered down version of what I want, but is anything like this possible? Can ASP be set to check an e-mail address, put the information into the database, and then delete the e-mail?
View Replies
View Related
I need some code that will enable people once they have signed up with all their details including their E Mail address to send a confrimation E Mail address to the users E Mail address wich contains their Username and Password.
View Replies
View Related
I 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:....
View Replies
View Related
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:
View Replies
View Related
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?
View Replies
View Related
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
View Replies
View Related
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 Related
I'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 Related
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 Related
I have to create a send mail code after registration had taken place. i want to know how to code for that ....
View Replies
View Related
Our 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.
View Replies
View Related
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
View Replies
View Related
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)
View Replies
View Related
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?
View Replies
View Related
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 Related
how can i send the mail to multiple receipients like yahoo.mail or hotmail.
View Replies
View Related
I 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.
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
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>
View Replies
View Related
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 Related
I 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 Related
I 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?
View Replies
View Related
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> .....
View Replies
View Related
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?
View Replies
View Related
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....
View Replies
View Related
I Need to send mail to Outlook mail (Work group mail) From ASP. Ho do I do it?
View Replies
View Related
I copied ASP/VBScript code from several sources and adapted it to my page and variables. Here is my current code for implementing CDO:
View Replies
View Related
I am sending mail from ASP program. My server is win 2k, IIS 5. SMTP
server is configured.
I am generating a report(purchase order) and the same sending as an email to
the supplier. upto last week it was sending well. Now its returning bounce
mail.
in the c:inetpubmailrootadmail contains the file(.bdr). The contents of
the file are ....
View Replies
View Related
I would like to know how can i nodify some users which are into my databese with an e-mail? How can i sent to them an "automate" e-mail using VB script.
View Replies
View Related
I' m using opertion system XP PRO,i have instelled the IIs 5.1. im trying to simulate sending email to my outlook express but it'snt working,somebody can tell me if i need to install any other componente?
how to conigurate my smtp(what is my host name,how can i find it)?
I dont want to use external component.
View Replies
View Related