Skip to content

can we use different username and from user while sending the mail  #58

@shivanihexalytics

Description

@shivanihexalytics

I want to send mail from different usename and from user
for example I want to send mail from [email protected] but on receiver side it will show fromname .so is it possible?

RNSmtpMailer.sendMail({
         mailhost: "smtp-relay.brevo.com",
         port: "***",
         ssl: false, 
         username: "[email protected]",
         password: "Test@1234",
         recipients: '[email protected]',
         fromName: 'vivek'
         subject: subjectText,
         htmlBody: htmlEmailBody,
         attachmentPaths:attachmentPaths,
         attachmentNames: attachmentNames,
       }) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions