Skip to content

Use Mail::Address methods instead of Email::Address::XS#1155

Open
TamaraNaboulsi wants to merge 2 commits intopostreleasefix/115from
fix2/mailer
Open

Use Mail::Address methods instead of Email::Address::XS#1155
TamaraNaboulsi wants to merge 2 commits intopostreleasefix/115from
fix2/mailer

Conversation

@TamaraNaboulsi
Copy link
Copy Markdown
Member

Description

A fix to a problem created by #1145 where there was a complication in installing Email::Address::XS. The solution devised aims to use methods from Mail::Address instead, which is a package that comes with Mail::Mailer which is already installed.

Views affected

The sending helpdesk email form.

Copy link
Copy Markdown
Contributor

@veidenberg veidenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming it's tested (no sandbox URL), it looks good to me 👍

@TamaraNaboulsi
Copy link
Copy Markdown
Member Author

Assuming it's tested (no sandbox URL), it looks good to me 👍

Thanks Andres. I tested it locally and on one of the staging sites. I don't have a sandbox set up, but if there's one ready somehwere I can test it there.

@TamaraNaboulsi
Copy link
Copy Markdown
Member Author

When testing on a sandbox, email was not being sent. Turns out there was a typo in a regex that checks the url and the presence of dashes '-' was triggering a warning. Fixed in last commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants