Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect mail address creation when ticket change state #435

Closed
pepinho7 opened this issue Feb 9, 2023 · 2 comments
Closed

Incorrect mail address creation when ticket change state #435

pepinho7 opened this issue Feb 9, 2023 · 2 comments
Labels

Comments

@pepinho7
Copy link

pepinho7 commented Feb 9, 2023

Module

helpdesk_mgmt

Describe the bug

Once the ticket has been created via email from an unregistered user and the stage is changed to 'Done', a contact is created with the wrong email. The &gt is added at the end of the email address. For this reason the sending of the mail for the change of stage fails.

To Reproduce

Affected versions:

Steps to reproduce the behavior:

  1. Go to Settings > Incoming mail servers and set in 'Actions to Perform on Incoming Mails' Helpdesk ticket for Create a New Record
  2. Create a Team with a mail alias that can accept emails from everyone
  3. Send from a mail to that alias with an unregistered (external) user
  4. Move the automatically created ticket to the 'Done' stage

Expected behavior
A mail message should be sent to the mail address that generated the ticket

Additional context
Running Odoo 14.0
resend_mail

@pepinho7 pepinho7 added the bug label Feb 9, 2023
@pepinho7 pepinho7 changed the title Incorrect mail creation when ticket change state Incorrect mail address creation when ticket change state Feb 9, 2023
@afbenevides
Copy link

afbenevides commented Jul 12, 2023

Hello, I have same problem.

Before installing module named: Email_Format_Checker (partner_email_check), I had an error message on a new created ticket from outside user by mail: Validation error, Email invalid

After installing Email_Format_Checker, I have exact same error as you, Validation error, [email protected]&gt is an invalide email

Did you find the solution to that problem?

@mathben
Copy link

mathben commented Jul 23, 2023

What is the content of the field partner_email?
When a ticket is create by an external email by email gateway, it's create email like '"Name" [email protected]". It supposes to be "[email protected]". When close tickets, I have the same error of you.
Check #491

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants