+ Start a Discussion


Hi folks,
I have some email ids in my org in format of @mail.xxxxx, end user is able to create a portal account with this type of email ids, 
but I am facing an exception of invalid email id, while I am trying to send an email to this email id from apex, I understand this format is not aligned with email id specifications, but is there any way we can send email to this type of email id from apex?
any help is much appriciated!
SwethaSwetha (Salesforce Developers) 
HI CaptainForce,
Are you saying that you want to send an email from apex that has an invalid Id like @mail.xxxxx ?

Related: https://salesforce.stackexchange.com/a/338017/80089

@swetha email id is valid, and in use, salesforce platform is throwing exception.
Given link is not relavant.