0.1.0 • Published 10 years ago

bee-mail v0.1.0

Weekly downloads
3
License
-
Repository
github
Last release
10 years ago

bee-mail

发送邮件

<?xml version="1.0" encoding="utf-8"?>
<project name="test" description="bee mail test">
  
  <property name="user" value="colorhook@gmail.com"/>
  <property name="from" value="colorhook@gmail.com"/>
  <property name="to" value="colorhook@gmail.com"/>

  <target name="default">
    <input setproperty='gmail.password' message='your gmail password? ' password='true'/>
    <echo>${gmail.password}</echo>
    <mail service='Gmail'>
	  <auth user='${user}' pass='${gmail.password}'/>
	  <message from="${from}" to="${to}">
		<html>
			<![CDATA[
			<b>Hello</b>, <span style='color:red'>bee-mail</span>
			]]>
		</html>
	  </message>
    </mail>
  </target>

</project>
0.1.0

10 years ago