View Full Version : mail merge into webpage
mandville
12-19-2005, 06:40 PM
i want to send a mailing out to a newsletter list, that when they visit the pages shows the hello {name}.
i can send a link out with a mail merge option such as http://some.where.com/letter.htm?{name} is this possible?
eithe in script or php?
PsychoticDude85
12-19-2005, 07:04 PM
You can do http://some.where.com/letter.php?name={name}.
You take the php mail() (http://php.net/mail) function and wherever you have a name in the text for the letter, put $_GET['name']. So for example I could do this:
<?php
$message = 'Message message ' . $_GET['name'] . ' message message';
You can see how it fits into the message that way.
Need anymore help with that just ask.
mandville
12-20-2005, 04:46 AM
thanks for that, think i follow, but to clarify! letter out side is easy, its the webpage side thats harder.
the letter goes out with the {name} mail merged in, the link possibly has the {name} at the end so that when the letter comes up on screen it has the name of the person active it in or as a document title.
sort of like tracking. if you follow
PsychoticDude85
12-20-2005, 06:08 AM
Sorry, I don't see what you mean.
RickRuby
05-29-2008, 09:02 AM
I have a webpage template, and I want to create 50 different pages, filled in with the text from an excel spreadsheet. Is this possible? Is there a way to mail merge or any other way?
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.