g = GmailSender.new('xxxxx@gmail.com', 'password')
#next unless File.exist? fn
#g.attach(fn) # you can attach any number of files, but there are limits for total attachments size
ti = now.strftime("%y-%m-%d")
p g.send(:to => t, :subject => ti, :content => File.read(fn))
用户登录
还没有账号?立即注册
用户注册
投稿取消
| 文章分类: |
|
还能输入300字
上传中....
丢啊丢啊丢手绢