From email address

I am sending all emails using a single account dev@flowwright.com each project on our software has an email address, how do I set the from email address to the project email address. Eventhough I set the from email to the project, when we send an email from email address says dev@flowwright.com, need help, thanks

@dwijay_cdevworkflow_com

For sending an email from any email address you have to mention from email address like as

// Set From field, To field and Plain text body
message.From = "sender@sender.com";
message.To.Add("receiver@receiver.com");
message.Body = “This is Plain Text Body”;

and then you need to provide server details e.g SMTP
// Create an instance of the SmtpClient class
SmtpClient client = new SmtpClient();

// And Specify your mailing host server, Username, Password and Port
client.Host = “smtp.server.com”;
client.Username = “Username”;
client.Password = “Password”;
client.Port = 25;

and then finally
//Client.Send will send this message
client.Send(message);

@dwijay_cdevworkflow_com

For sending an email from any email address you have to mention from email address like as

// Set From field, To field and Plain text body
message.From = "sender@sender.com";
message.To.Add("receiver@receiver.com");
message.Body = “This is Plain Text Body”;

and then you need to provide server details e.g SMTP
// Create an instance of the SmtpClient class
SmtpClient client = new SmtpClient();

// And Specify your mailing host server, Username, Password and Port
client.Host = “smtp.server.com”;
client.Username = “Username”;
client.Password = “Password”;
client.Port = 25;

and then finally
//Client.Send will send this message
client.Send(message);

@dwijay_cdevworkflow_com

Please provide your sample code so that we could further investigate this issue.

Looks like a gmail issue, gmail will always use the account email that you are sending from even if you set the from email address.

@dwijay_cdevworkflow_com

From email address is always the same as the one set in SMPT Client for sending out emails. In your case, we need to understand your complete scenario so specify details along with test account credentials for investigating this issue further.