title: How to loop a specific block in Ruby
body: <p>I want to loop the mail body so it keeps sending the email until <kbd>Ctrl</kbd>+<kbd>c</kbd> is pressed. How do I do that?</p>
  
  <pre><code> Mail.deliver do
     to 'mikel@test.lindsaar.net'
     from 'ada@test.lindsaar.net'
     subject 'testing sendmail'
     body 'testing sendmail' #how to loop the body to keep sending email
   end
  </code></pre>