Hi All,
I am using idSMTP to send my users emails, for the most part this has been working well however sending an email to one email address in particular always fails and I get the error:
'550 Mailbox unavailable or access denied'
The example problem email address is 'example@comcast.com'
I can hapily send and receive messages to this user via Outlook express so don't see what the problem is. I have been told it has to do with authentication however I have this enabled. I can't see what difference exists between my program (which works 99% of the time) and Outlook Express.
This is the code I am using:
try
try
idSMTP1.Connect(1000);
idsmtp1.Authenticate;
idSMTP1.Send(idMessage1);
except on E:Exception do
MemoStatus.Lines.Insert(0, 'ERROR: ' + E.Message);
end;
finally
if idSMTP1.Connected then
idSMTP1.Disconnect;
end;
TIA
I am using idSMTP to send my users emails, for the most part this has been working well however sending an email to one email address in particular always fails and I get the error:
'550 Mailbox unavailable or access denied'
The example problem email address is 'example@comcast.com'
I can hapily send and receive messages to this user via Outlook express so don't see what the problem is. I have been told it has to do with authentication however I have this enabled. I can't see what difference exists between my program (which works 99% of the time) and Outlook Express.
This is the code I am using:
try
try
idSMTP1.Connect(1000);
idsmtp1.Authenticate;
idSMTP1.Send(idMessage1);
except on E:Exception do
MemoStatus.Lines.Insert(0, 'ERROR: ' + E.Message);
end;
finally
if idSMTP1.Connected then
idSMTP1.Disconnect;
end;
TIA