Mail Merge

Does anyone know whether it is possible to effect a mail merge to MSWord
using VBScript in an asp file? I know it is possible to produce a doc
file and force a download using

Response.ContentType = "application/msword"
Response.AddHeader content-disposition","attachment;filename=myfile.doc"

but can I interate through a bunch of records and produce, say, a
separate invoice for each one by merging? I know how to iterate through
the records and write them out

View Replies


ADVERTISEMENT

Imitating Mail Merge

I have an ASP intranet application that is required to produce Word documents merged with data from a database.I originally looked at automating Word's mail merge capabilities, but nixed that idea since I learned it's not a good idea to try to automate Word on the server

decided to have the Word templates saved as RTF files and to write a parser/merger myself.since Word produces such complicated RTF code,until we decided that we were going to combine multiple templates into one final Word document with, potentiall, different header and footers for each section/template doc.

I'm having a problem figuring out how to get sections inserted into the combined RTF doc, so I'm thinking perhaps I should rethink my solution.how to produce database merged documents from templates created by users on a Web server? We may have some budget, sothird-party tools would be welcome, as well.

View Replies View Related

Mail Merge With Oracle

I used some example code from MS site (http://support.microsoft.com/kb/285176/en-us) to create an ASP page that executes a mail merge in word from a web page. For some reason when it attempts to run the getdata.asp part I always get theerror ..."The connection cannot be used to perform this operation. It is either closed or invalid in this context.

I have tried numerous ways to connecto to the database and form the record set but still get the same error.

View Replies View Related

Mail Merge Tags

HOW can asp open a *.doc and read it and extract mail merge tags and their definitions/values?

View Replies View Related

VBScript : Word : Mail Merge

I have a document. Top right is a logo, there is a space for an address, space for content and space for extra details (3 sections). This can be seen as a normal word template.

I pull in information from a DB so have values: Address, Content, Details. I need to insert these values into their relevant places and produce the word document from the template so user can open/save it.

View Replies View Related

MS Word Merge

I've done some research on how to do a MS Word merge with data I read
in an ASP application (using a SQL Server database).
I understand the concept since I've done it in a couple other
programming languages.

View Replies View Related

Merge Pdf Docs

Can someone tell me if it is possible to perform merge operations on a pdf file.

My client wants a user to fill in an on screen form and then have the results merged into a pdf template?

View Replies View Related

Merge Two Recordset

Granting that I have 2 recordsets with the same columns, is it possible to merge these two recordsets?

rs3 = rs1 + rs2 ???

Can someone show me how?

View Replies View Related

Merge 2 Images

i have to merge 2 different images and save them as one individual image. I manage to overlap both images together in the same position but i'm having problem in saving the images as a single image. i hope anyone can help me with the problem.

View Replies View Related

Merge Data

I have two tables:
customermaster (id,name,email,mailinglists)
example: 1,john doe, Join Bytes!, NULL

emailmaster (email,listid)
example:
Join Bytes! 1
Join Bytes! 8

I want to get rid of the emailmaster table and merge the listids, into the mailinglists field inside customermaster so that I will have something like 1,8,14,25,99 in the mailinglists field for the email address Join Bytes. How can I accomplish this for MS SQL database?

View Replies View Related

Merge To Records In Access

I have a single table.

ID Code Description Colour Qty
1 0001 T-Shirt Black 5
2 0002 Soccer Ball Red 1
3 0001 T-Shirt Black 2
4 0001 T-Shirt Navy 6

What I need to do using ASP is take record 1 and merge it with record 3. By this I mean I need to show only a singular qty for the product code 0001.

i.e.

ID Code Description Colour Qty
1 0001 T-Shirt Black 7
2 0002 Soccer Ball Red 1
4 0001 T-Shirt Navy 6

View Replies View Related

Merge XML And XSL And Edit Whit ASP

I would like to sort my XML output and still be able to manipulate/alter/modify the XML data by use of some simple ASP code. (I’m going to slice it afterwards, and bake it in to a cornbread. But that’s a story for the cocking forum I’m a member off.)

I’ve no idea if this is ever going to work, but here is what I did.

- I’ve got an XML file; data.xml.
- I’ve got an XSL file; xmlxsl.xsl

The only reason I’m using a XSL file is because (I think) it will enable me to sort the XML data ascending. And of naturally a ASP script to merge al those files together and then to slightly modify the XML output. Code:

View Replies View Related

Can't Merge Word Document

I want to merge a word document in the server to display in the client side. The merge code is in a dll. In the asp server script, I invoke the dll to merge.

It raise an error when I use the default IIS user. When I change the IIS user to administrator,It work well. how I should do to resolve this problem?

View Replies View Related

Merge / Appending Multiple PDFs Together

I need to take a bunch of PDFs that I have made using Appligent's FDFMerge and append them together. I know I could use Appligent's AppendPDF. But I was wondering if there were any free toolkits that I could use with a bit more work out there?

I cannot tell what on the Adobe site would be a candidate for me to even look at. The Acrobat SDK seems to be for Acrobat Reader plugins. Not what I am going for. The PDF library seems a candidate, but what *is* it? A C library? I cannot use a C library unless it has a COM wrapper.

View Replies View Related

Merge Lines In A Text File

I am working with an old line-feed printer text file. There are characters in the first position of each line that tell the printer what to do, i.e. print this line and advance paper, print and do not advance. when processing this text file for conversion to another text file I can't seem to work out the code for merging two lines. For example,

Type: Location: Quantity:
+ 123 London 45000

After processing the line should look like this:
Type: 123 Location: London Quantity: 45000

I understand the concept but have no idea how to actually merge the two lines with code.

View Replies View Related

Send A Mail With Cdosys And Save A Copy In The Sent Mail Folder: How To?

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

Mail Insertion Hack On Send Mail Form

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

Sending Mail Using ASP/VBScript To Exchange Mail Box

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

Invalid Mail Address Gives Error In CDO Mail

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

Sending E-mail To Different Mail Box!

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

Asp Mail Without Using A Mail Component

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

Merge An Image Into Another Image

I'm looking for a simple way to merge an image into another image.What i have is a screenshot uploader, and i want to make it so that when they upload the SS, the script will automatically merge a small copyright type image onto the bottom right of the picture.

View Replies View Related

Mail And CSS

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

Mail

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

CDO Mail From ASP On IIS 6

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

Mail Through ASP

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

Mail Api For ASP

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

Cdo Mail

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

Asp Mail

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

Mail In ASP

how can i send the mail to multiple receipients like yahoo.mail or hotmail.

View Replies View Related

ASP Mail

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

Mail With ASP

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

Receiving Mail

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







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