Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

E-mail sending

Subscribe

Get notified when there's activity on this post

This question has been flagged
mailemailsmtpmailing
2 Replies
6688 Views
Avatar
Ivan Yakushchenko

Dear community!

I've configured in OpenERP Outgoing e-mail server with our company's e-mail. But the problem is, that it doesn't work properly. When I try to send quotation, for example, on some e-mail, I can't do it - I don't receive any error; system simply doesn't send message. But when I've setup system to send messages on user's e-mails when some action is made with task (created, edited, and so on), user receive e-mail, which is sent from our company's mailbox. And that means, that SMTP server for outgoing e-mails works properly, as I understand. 

But in this case, why I can't send quotations, purchase orders and other stuff via our company's mailbox via OpenERP? Can anyone help me with it? And, by the way, when I setup Outgoing e-mail server with my gmail mailbox, everything works fine.

Help me, please, with this problem!

Thank you very much in advance!

0
Avatar
Discard
Eric

Im having the same problem. I think I tracked the problem down in line 261 of the mail_compose_message.py file. There is an if statement which checks if the mass_mail_mode and post_values['partner_ids'] variables are true. if they are then it will run the line that sends the mail. Otherwise it wont. My issue is with the mass_mail_mode variable not being true, so I have to figure out why. Hope this helps

Eric

mass_mail_mode is False because the wizard.composition_mode = 'comment' and not 'mass_mail'

Eric

The composition_mode is being set to 'comment' in the sale.py file, in the action_quotation_send() method

Ivan Yakushchenko
Author

Thank you very much! But is it possible to reach python file of code through the OpenERP system, without direct access on installation folder?

Eric

No this is something that may need to be changed in the python file. However, I was able to send an email out because I bypasses a part that checks the user preferences. I would check your partners/customers and make sure that they havent opted out of any emails. This maybe a simple fix this way

Eric

Here is a list of things to check for your partners/customers: # Do not send to partners without email address defined # Do not send to partners having same email address than the author (can cause loops or bounce effect due to messy database) # Partner does not want to receive any emails or is opt-out # Partner wants to receive only emails and comments # Partner wants to receive only emails

Ivan Yakushchenko
Author

Thank you very much, Eric! But I'm not sure, that problem is in settings - I've checked, everything seems to be OK. I can even share via our company's e-mail links to purchase orders, and so on (when I select in the upper menu More - > Share. For all email templates I've selected configured outgoing e-mail server... Everything seems to be OK, but it doesn't work... Can I kindly ask you to tell some more ideas?

Eric

Did you check if your customer has the opt-out check box selected? I know some other emails might be sent, but I think that's because it uses a different process than this one. let me know if your customers settings are and I'll see if I can help some more

Ivan Yakushchenko
Author

Thank you, Eric! But opt-out check box is not selected for the customers. You can check it, please, here - http://hostingkartinok.com/show-image.php?id=d28d8efa0c6f8cde2de205564e2873f5 .

Avatar
Ivan Yakushchenko
Author Best Answer
0
Avatar
Discard
Avatar
Eric
Best Answer

I think the real issue lies with a customer's preference setting being set to a value that prevents sending the message. So I would check there for you. Otherwise I was able to get mine working again. Hope this helps

 

You can check the preferences by clicking on Sales->Customers->Sales & Purchases 

 

Then you can check the settings for the customer/partner there

 

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Issue Connecting to Active24 SMTP Server
email smtp
Avatar
0
Dec 25
259
Assistance with Setting Up Multiple Outgoing Mail Servers for Different Teams (Recruitment & eLearning)
mail email
Avatar
0
Nov 25
2518
How do notes and messages work on sales orders?
mail email log mailing mail.thread
Avatar
Avatar
1
Feb 25
7491
Hostinger email
mail email
Avatar
Avatar
1
Nov 24
3505
outgoing mail server not working with smtp.office365.com Solved
email smtp
Avatar
Avatar
Avatar
Avatar
Avatar
14
May 24
237853
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now