I'm using NET lib 1.80 with B4a 9.00.
I have the below code:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
The email is sent OK, but the "From:" is the username "[email protected]" and not the .MailFrom = "[email protected]" that I set it to.
			
			I have the below code:
			
				B4X:
			
		
		
		SMTP.Initialize("mail.mydomain.com",222,"[email protected]","123Pass","SMTP")
SMTP.To.Add("[email protected]")
SMTP.HtmlBody = False
SMTP.Body = EmailBody
SMTP.Subject = EmailSubject
SMTP.MailFrom = "[email protected]"
SMTP.AuthMethod = SMTP.AUTH_LOGIN
SMTP.SendThe email is sent OK, but the "From:" is the username "[email protected]" and not the .MailFrom = "[email protected]" that I set it to.
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		