 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
|
 |
| Other Products |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
|
|
"Ahhh ... SO COOL!!! I used the
SendMailMergeToMSPickup method and it all worked like a charm. Very nicely done."
Scott McFarland
|
|
 |
 |
 |
 |
More Testimonies
|
|
|
Intermediate Mail Merge Example
Back to index.
The following example builds off of the simple mail merge example. Besides just replacing the 'To' field with database fields, you can also replace text in the
subject line of your email using the mail merge method. In our database, we are also storing the first name of our members, and we will add that field to the subject line of the email. Again, to add a database field to
and email, you need to surround the the field name with '##'.
See the example below.
For your reference, here is what the database looks like below.
| fldEmail | fldFirstName | fldLastName | fldDatePurchased | fldAmount |
| user1@aspnetemail.com | Bob | Jones | 3/13/2002 12:00:00 AM | 10 |
| user2@aspnetemail.com | Steve | Cantoo | 3/14/2002 12:00:00 AM | 20.25 |
| user3@aspnetemail.com | Joan | Dew | 3/12/2002 12:00:00 AM | 18.15 |
|
|
 |
|
The box is not shipped.
aspNetEmail is a
downloadable product.
|
| |
|
|