使用ASPMail组件发送数字卡片

张卓2014

张卓2014

2016-01-29 18:21

使用ASPMail组件发送数字卡片,使用ASPMail组件发送数字卡片

  Sending Digital PostCards with ASP and the free component ASPEmail from Persits software.
By Joao Vieira

What is a Digital Postcard?
A digital postcard is a image a net surfer picks out, along with an accompanying personal message. The net surfer "sends" the postcard by supplying a friend's email address. A link is then emailed to the address supplied. The link takes the receiver of the digital postcard to the site which displays the image and contains the personal message.



First you must create a database to house the information for the postcards. (I use a DataBase to put the PostCards information so that when a person gets the mail with the post card only have to click on the link and the page apears, goin to DB to get the Data. So here it is the structure of my DataBase (you can make your own, with more information if you intend to.


Postal
ID_POSTAL Autonumber
passw integer
postal Text
nameto Text
namefrom Text
emailfrom Text
emailto Text
Message Text
Data Text

For the digital postcard system to work, you will need a number of images for the postcards. In my example I have six unique postcards, and 12 images for the postcards: a thumbnail and normal size image for each postcard. I also use images for buttons, the main ones being View, Send, and Repeat.

Concerning the code, I want to warn you that I am not going to be going deep into the HTML aspect; I will concentrate on the ASP. If you have any questions about this article, please contact me.

You will have to make an HTML form. I used the POST method, because I don't like to see all ofthe information submitted in the address link box. (Related Article! Passing Data Between ASP Pages)

FILE: makin.html
This file contains the form where we get all of the information from the user. This information will be used to make the digital postcard.

<form  
     name="postalsent"  
     method="post"  
     action="view.asp?fromn=seeit"  
     target="_self"


.....
    <td width="24" valign="bottom"
       <font face="Arial"
         <input type="radio" value="postal1" name ="R1"
           
    <td width="140"
       <font face="Arial"
      <IMG border=2 height=86 src="http://img.tulaoshi.com/attachment/portal/jcwcj/2005-12/10/0512100054048765.gif"" width=134
           
    <td width="12" valign="bottom"
       <font face=3D"Arial"                 
          <input type="radio" value="postal2" name ="R1"
           
    <td width="151"
       <font face="Arial"
          <IMG border=2 height=87 src="http://img.tulaoshi.com/attachment/portal/jcwcj/2005-12/10/05121000540485045.gif"" width=134
             

(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/asp/)
展开更多 50%)
分享

猜你喜欢

使用ASPMail组件发送数字卡片

ASP
使用ASPMail组件发送数字卡片

Wacom推出照片数字卡片Bamboo Loop

手机软件 应用软件
Wacom推出照片数字卡片Bamboo Loop

s8lol主宰符文怎么配

英雄联盟 网络游戏
s8lol主宰符文怎么配

使用JMail组件代替Sql Mail发送Email

SQLServer
使用JMail组件代替Sql Mail发送Email

用ASPMail组件实现E_mail自动反馈

ASP
用ASPMail组件实现E_mail自动反馈

lol偷钱流符文搭配推荐

英雄联盟 网络游戏
lol偷钱流符文搭配推荐

常用Email组件发送函数

ASP
常用Email组件发送函数

使用JMail组件代替Sql Mail发送Email 遇到的问题

Web开发
使用JMail组件代替Sql Mail发送Email 遇到的问题

lolAD刺客新符文搭配推荐

英雄联盟
lolAD刺客新符文搭配推荐

恢复丢失的发送到选项

恢复丢失的发送到选项

Photoshop鼠绘教程:绘制一张仿旧效果的扑克牌

Photoshop鼠绘教程:绘制一张仿旧效果的扑克牌
下拉加载更多内容 ↓