# ActionMailer sending mass emails,Suggestion for validation

**URL:** <https://www.ruby-forum.com/t/actionmailer-sending-mass-emails-suggestion-for-validation/164479>\
**Category:** Rails\
**Created:** [April 1, 2009, 8:26pm UTC](https://www.ruby-forum.com/t/actionmailer-sending-mass-emails-suggestion-for-validation/164479 "2009-04-01T20:26:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeepcasp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@sandeepcasp](https://www.ruby-forum.com/u/sandeepcasp)\
**Post date:** [April 1, 2009, 8:26pm UTC](https://www.ruby-forum.com/t/actionmailer-sending-mass-emails-suggestion-for-validation/164479/1 "2009-04-01T20:26:23Z")

</div>

Hi all,

I’ve used below link to send mass emails to people.I am able to send  
using the same code without any issues.  
Now,Is that i need to validate Subject,Recipient,Message text boxes.Can  
you please suggest me how this can be achieved.As i am very new to rails  
and i beleive ActionRecord cannot be used here as we are using  
ActionMailer for sending mass emails.

Appreciate your quick response with some example to do or any steps.

Thanks…

---

<div class="post-metadata">

**Author:** ![sandeepcasp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@sandeepcasp](https://www.ruby-forum.com/u/sandeepcasp)\
**Post date:** [April 1, 2009, 8:33pm UTC](https://www.ruby-forum.com/t/actionmailer-sending-mass-emails-suggestion-for-validation/164479/2 "2009-04-01T20:33:06Z")

</div>

This is the link which has example:

> **[Ruby on Rails - Send Emails](http://www.tutorialspoint.com/ruby-on-rails/rails-send-email.htm)**
>
> Ruby on Rails Send Emails - Action Mailer is the Rails component that enables applications to send and receive emails. In this chapter, we will see how to send an email using Rails. Letâs start creating an emails project using the following command.

Sandeep Asp wrote:

> Hi all,
> 
> I’ve used below link to send mass emails to people.I am able to send  
> using the same code without any issues.  
> Now,Is that i need to validate Subject,Recipient,Message text boxes.Can  
> you please suggest me how this can be achieved.As i am very new to rails  
> and i beleive ActionRecord cannot be used here as we are using  
> ActionMailer for sending mass emails.
> 
> Appreciate your quick response with some example to do or any steps.
> 
> Thanks…
