Mark Minasi's Tech Forum
Register Calendar Latest Topics Chat
 
 
 


Reply
  Author   Comment  
tassinvegeta

Still Checking the Forum Out
Registered:
Posts: 2
Reply with quote  #1 
We're trying to send emails from a couple of email addresses. The function works with admins original email address but not the other two. Pretty sure the issue we're having involves mismatched credentials but we're not sure how to fix this in the code. Can anyone see what the issue might be?

Credential issue1.png Credential issue2.png

0
donoli

Senior Member
Registered:
Posts: 496
Reply with quote  #2 
Are the destination addresses part of your domain?   That's where it's being blocked.
0
cj_berlin

Avatar / Picture

Senior Member
Registered:
Posts: 199
Reply with quote  #3 
Hi,

is it an Exchange setup? Then you need to give the account you use for authentication the Send-As permission on the mailbox the desired From: address belongs to.

__________________
Evgenij Smirnov

My personal blog (German): http://www.it-pro-berlin.de/
My stuff on PSGallery: https://www.powershellgallery.com/profiles/it-pro-berlin.de/
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation: