You then move the actual sending of the mail outside this loop, instead building a string of text to add to the body of the message.
随后我们将邮件的实际发送移动到循环体外面,而在循环体中构建一个要添加到消息体的文本字符串。
2
Create a hash keyed on E-mail address for each state name, to be checked in the main program loop.
创建与每个州名的电子邮件地址绑定的散列,将在主程序循环中检查该散列。
3
The main program is nothing more than a loop to get the current stock price, check to see if it's in band, and, if not, send an E-mail alert to the user.