+def send_mail(mail_info)
- setup_smtp
Can define the local version setup_smtp() here. And let the internet version override it.
do you mean:
define a function setup_smtp for send intranet mail? define a function setup_smtp_internet for send internet mail in lib/internet-smtp.rb?
我说的够清楚了吧! 太费劲了,不解释了。回头我做给你看吧。 你把别的改好先。
Thanks, Fengguang