You should be able to set this up by following the examples in
ActionMailer.

But even if you figure it out - don't do it. Even with good CAPTCHAs,
you'll end up being a spammer magnet. You'll also likely end up
sending mails that aren't likely to reach their recipients; if
[email protected] tries to send an email to his buddy [email protected], here are
some issues:

- if bar.com defines an SPF record, your mail looks fake
- if bar.com DKIM signs its mail, your mail looks REALLY fake
- filters on frob.com that inspect the headers are going to be
confused

You may want to look into setting the envelope address to a real
address attached to your site, but it's still ultimately going to be
messy.

--Matt Jones

On Sep 19, 1:04 am, kevin lee <[email protected]>
wrote:
> I am searching for a tutorial/example/guide if there is one on sending
> an email from a visitor (no user registration is needed currently) to my
> site to someone else.  The visitor has to enter their email address and
> the recipient(s)' email address(es) in a form and submitted it to
> generate the email.  The tutorials I have seen so far demonstrate email
> sent from the site admin to registered users.  Is it as simple as
> substituting email addresses in one case for another or there are more
> setup requirements for my scenario (I would think so).  Please point me
> the way.  Thanks!
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to