Coder Social home page Coder Social logo

Comments (12)

kurapatijayaram avatar kurapatijayaram commented on August 14, 2024

Hi,
Even test mail is not working fine for me :-(

from spree_mail_settings.

igor-krupa avatar igor-krupa commented on August 14, 2024

Same for me
I'm getting an error in admin:
Test Mail error: 550 Incorrect sender information in header.
And the logs says that in header I have:
From: [email protected]
no matter what is defined in "Send mail as" field

from spree_mail_settings.

kurapatijayaram avatar kurapatijayaram commented on August 14, 2024

Hi,
For me it's working great. The only mistake I made was I didn't enabled email delivery . :-)

from spree_mail_settings.

kurapatijayaram avatar kurapatijayaram commented on August 14, 2024

In admin panel under mail settings section , you can see an check box option mentioning enable mail delivery enable that and send test mail ... It will work.

from spree_mail_settings.

igor-krupa avatar igor-krupa commented on August 14, 2024

Ok, so my problem was that mails_from should be defined in general spree settings, not in this gem settings. From now i have no idea what is "send mail as" option for (and does it even work?)

from spree_mail_settings.

kurapatijayaram avatar kurapatijayaram commented on August 14, 2024

Send mail_as is just from address for end user ... Just display logic it won't deliver through that mail id

from spree_mail_settings.

igor-krupa avatar igor-krupa commented on August 14, 2024

That was I thought but I'm pretty sure it is not working.

from spree_mail_settings.

kurapatijayaram avatar kurapatijayaram commented on August 14, 2024

But for me it's working fine ... Are u getting any error for that ??

from spree_mail_settings.

kurapatijayaram avatar kurapatijayaram commented on August 14, 2024

Hi @igorkrup
Sorry for my previous reply. By default mail_as wont work, we need to modify base_mailer class in spree core. Add the following decorator in your app. It will work.

module Spree
BaseMailer.class_eval do
def from_address
Spree::Config[:mails_from] || Spree::Store.current.mail_from_address
end
end
end

from spree_mail_settings.

aishmita-aggarwal avatar aishmita-aggarwal commented on August 14, 2024

Persists on master. Looking into it.

from spree_mail_settings.

aishmita-aggarwal avatar aishmita-aggarwal commented on August 14, 2024

@mbajur Could you please share your settings for smtp?

from spree_mail_settings.

mbajur avatar mbajur commented on August 14, 2024

@aishmita-aggarwal sorry, i'm not able to do that right now. But, anyway, it seems that you resolved it.

from spree_mail_settings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.