I´m putting up a spree store and the problem is that when i´m doing
checkout or registering a new account to the store, the spree does not send
email.
In default it should send to the new account something or not?




Sent mail to (my email account what i use every day) (60184ms)
Date: Mon, 10 Dec 2012 15:23:14 +0200
From: (my email account what i use daily)
To: (my email account what i use daily)
Message-ID: <50c5e24294cd_4fa3fd29c0a7ff494749@ubuntu.mail>
Subject: Pood Order Confirmation #R433411265
Mime-Version: 1.0
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: base64

RGVhciBDdXN0b21lciwKClBsZWFzZSByZXZpZXcgYW5kIHJldGFpbiB0aGUg
Zm9sbG93aW5nIG9yZGVyIGluZm9ybWF0aW9uIGZvciB5b3VyIHJlY29yZHMu
Cgo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT0KT3JkZXIgU3VtbWFyeQo9PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT0KICBTUFItMDAwMTIgU3ByZWUgQmFnICAoMSkgQCDigqwyMi45OSBFVVIg
PSDigqwyMi45OSBFVVIKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClN1YnRvdGFsOjog4oKs
MjIuOTkgRVVSCgogIFNoaXBwaW5nIOKCrDAuMDAgRVVSCgpPcmRlciBUb3Rh
bDo6IOKCrDIyLjk5IEVVUgoKVGhhbmsgeW91IGZvciB5b3VyIGJ1c2luZXNz
Lgo=

^[[1m^[[36mSQL (0.3ms)^[[0m ^[[1mINSERT INTO "spree_state_changes"
("created_at", "name", "next_state", "previous_state", "stateful_id",
"stateful_type",$
^[[1m^[[35m (45.9ms)^[[0m commit transaction
Redirected to http://192.168.1.68:3000/orders/R433411265
Completed 302 Found in 60392ms (ActiveRecord: 0.0ms)


I can´t understand where is the problem.
Could somebody help me?
I read somewhere that for spree 1.2.x is recommended rails 3.2.3 but i have
3.2.9, may the problem be there?

I´ve done 2 mail methods.
One is gmail. If I push " send testmail" it does everything it has to do.
"Testmail sent successfully" and that ´s all. But the email does not arrive
in my email account.

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/kH88e0lum3kJ.
To post to this group, send email to spree-user@googlegroups.com.
To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.

Search Discussions

  • Ryan Bigg at Dec 13, 2012 at 10:42 pm
    The gem's code should not be touched at all because you would be making
    those modifications on the server where your code is deployed to as well.
    Instead, you should be using the API provided by these gems to change the
    settings. Please just put these configuration settings within an
    initializer within your application.

    On Fri, Dec 14, 2012 at 8:01 AM, Artur Rüütnurm wrote:

    hmm...
    I changed the Action Mailers smtp settings..but it didn't work.
    So I changed the Mail smtp settings and it worked.
    Why is it a wrong way if I may ask ?




    On 12.12.2012 21:54, Ryan Bigg wrote:

    Changing the Mail gem's code is the wrong way of going about this. You
    should be setting up SMTP settings for Action Mailer inside an initializer
    for your app.



    On 12/12/2012, at 19:54, ar7ur wrote:

    Resolved .
    I was configuring the wrong file.
    The spree uses Mailer-2.4.4
    I thought it was using ActionMailer.
    So i changed Mailer :
    /var/lib/gems/1.9.1/gems/mail-2.4.4/lib/mail/network/delivery_methods/smtp.rb
    And it works now!

    Congratulations!
    ================

    If you have received this email, then your email settings are correct.





    teisipäev, 11. detsember 2012 9:15.27 UTC+2 kirjutas ar7ur:
    I´m putting up a spree store and the problem is that when i´m doing
    checkout or registering a new account to the store, the spree does not send
    email.
    In default it should send to the new account something or not?




    Sent mail to (my email account what i use every day) (60184ms)
    Date: Mon, 10 Dec 2012 15:23:14 +0200
    From: (my email account what i use daily)
    To: (my email account what i use daily)
    Message-ID: <50c5e24294cd_**4fa3fd29c0a7ff494749@ubuntu.**mail>
    Subject: Pood Order Confirmation #R433411265
    Mime-Version: 1.0
    Content-Type: text/plain;
    charset=UTF-8
    Content-Transfer-Encoding: base64

    RGVhciBDdXN0b21lciwKClBsZWFzZS**ByZXZpZXcgYW5kIHJldGFpbiB0aGUg
    Zm9sbG93aW5nIG9yZGVyIGluZm9ybW**F0aW9uIGZvciB5b3VyIHJlY29yZHMu
    Cgo9PT09PT09PT09PT09PT09PT09PT**09PT09PT09PT09PT09PT09PT09PT09
    PT09PT09PT09PT09PT09PT0KT3JkZX**IgU3VtbWFyeQo9PT09PT09PT09PT09
    PT09PT09PT09PT09PT09PT09PT09PT**09PT09PT09PT09PT09PT09PT09PT09
    PT0KICBTUFItMDAwMTIgU3ByZWUgQm**FnICAoMSkgQCDigqwyMi45OSBFVVIg
    PSDigqwyMi45OSBFVVIKPT09PT09PT**09PT09PT09PT09PT09PT09PT09PT09
    PT09PT09PT09PT09PT09PT09PT09PT**09PT09PT09ClN1YnRvdGFsOjog4oKs
    MjIuOTkgRVVSCgogIFNoaXBwaW5nIO**KCrDAuMDAgRVVSCgpPcmRlciBUb3Rh
    bDo6IOKCrDIyLjk5IEVVUgoKVGhhbm**sgeW91IGZvciB5b3VyIGJ1c2luZXNz
    Lgo=

    ^[[1m^[[36mSQL (0.3ms)^[[0m ^[[1mINSERT INTO "spree_state_changes"
    ("created_at", "name", "next_state", "previous_state", "stateful_id",
    "stateful_type",$
    ^[[1m^[[35m (45.9ms)^[[0m commit transaction
    Redirected to http://192.168.1.68:3000/**orders/R433411265<http://192.168.1.68:3000/orders/R433411265>
    Completed 302 Found in 60392ms (ActiveRecord: 0.0ms)


    I can´t understand where is the problem.
    Could somebody help me?
    I read somewhere that for spree 1.2.x is recommended rails 3.2.3 but i
    have 3.2.9, may the problem be there?

    I´ve done 2 mail methods.
    One is gmail. If I push " send testmail" it does everything it has to do.
    "Testmail sent successfully" and that ´s all. But the email does not arrive
    in my email account.

    --
    You received this message because you are subscribed to the Google Groups
    "Spree" group.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/spree-user/-/4c3U_e-vs64J.
    To post to this group, send email to spree-user@googlegroups.com.
    To unsubscribe from this group, send email to
    spree-user+unsubscribe@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/spree-user?hl=en.

    --
    You received this message because you are subscribed to the Google Groups
    "Spree" group.
    To post to this group, send email to spree-user@googlegroups.com.
    To unsubscribe from this group, send email to
    spree-user+unsubscribe@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/spree-user?hl=en.


    --
    You received this message because you are subscribed to the Google Groups
    "Spree" group.
    To post to this group, send email to spree-user@googlegroups.com.
    To unsubscribe from this group, send email to
    spree-user+unsubscribe@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/spree-user?hl=en.
    --
    You received this message because you are subscribed to the Google Groups "Spree" group.
    To post to this group, send email to spree-user@googlegroups.com.
    To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedDec 11, '12 at 1:05p
activeDec 13, '12 at 10:42p
posts2
users2
websitespreecommerce.com
irc#RubyOnRails

2 users in discussion

Ryan Bigg: 1 post Ar7ur: 1 post

People

Translate

site design / logo © 2022 Grokbase