[PLUG-Devel] rails and sending email
Craig White
craigwhite at azapple.com
Tue Sep 18 22:16:47 MST 2007
edit /etc/mail/sendmail.mc
change from
dnl define(`SMART_HOST', `smtp.your.provider')dnl
to
define(`SMART_HOST', `smtp.west.cox.net')dnl
then (as root)
/sbin/service sendmail restart
/sbin/chkconfig sendmail on
Craig
On Tue, 2007-09-18 at 22:07 -0700, Josh Coffman wrote:
> Ok, I'm not sure whether it matters, but I'm trying to send mail to a
> non-local address. the one i'm writing from for instance.
> Anyway, I think I still have some work to do with sendmail. Because I
> use cox, I think I have to setup sendmail as a relay to the cox mail
> server.
>
> I'll post any progress. tips are appreciated.
>
> -j
>
>
> On 9/18/07, Craig White <craigwhite at azapple.com> wrote:
> mail --help
>
> mail craig -s "This is a subject" < /home/craig/some_file.txt
>
> Craig
>
> PS action mailer is pretty simple and you can use an smtp
> server so
> local smtp is unnecessary
>
> On Tue, 2007-09-18 at 18:15 -0700, Josh Coffman wrote:
> > sendmail wasn't started...
> > anyone know how to send email via command line/script on
> fedora?
> > I'd like to test that the mail server works, before assuming
> its my
> > rails app.
> >
> > thanks,
> > -j
> >
> >
> > On 9/18/07, Derek Neighbors <derek at gnue.org> wrote:
> > Come to rails meeting tonight and I can help you
> out.
> > ActionMailer
> > is way to go.
> >
> > http://wiki.rubyonrails.org/rails/pages/ActionMailer
> >
> > --
> > Derek
> >
> > On 9/18/07, Josh Coffman < joshcoffman at gmail.com>
> wrote:
> > > Hi all,
> > >
> > > Anyone know how to send email from rails on
> linux? I've
> > tried a couple
> > > articles I found via google, but no luck so far. I
> may be
> > missing something
> > > on linux, like a running mail daemon or something.
> If you've
> > setup rails to
> > > send email on linux, please tell me how.
> > >
> > >
> > > Thanks,
> > > -j
> > >
> > > _______________________________________________
> > > PLUG-devel mailing list -
> > > PLUG-devel at lists.PLUG.phoenix.az.us
> > >
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-devel
> > >
> > >
> > _______________________________________________
> > PLUG-devel mailing list -
> > PLUG-devel at lists.PLUG.phoenix.az.us
> >
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-devel
> >
> > _______________________________________________
> > PLUG-devel mailing
> list - PLUG-devel at lists.PLUG.phoenix.az.us
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-devel
>
> _______________________________________________
> PLUG-devel mailing
> list - PLUG-devel at lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-devel
>
> _______________________________________________
> PLUG-devel mailing list - PLUG-devel at lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-devel
More information about the PLUG-devel
mailing list