Answer the question
In order to leave comments, you need to log in
How to prove to Yandex that I am not a spammer myself?
I decided to add a self-made crash reporter to one of my programs. I would not want to start scripts for this on the server, so it was decided to send dumps to my e-mail. One but - authorization. It will not be very cool if the program is opened and the password is pulled out, even if it is from the left soap, from which it is only sent. In general, I solved the problem using IdSMTPRelay:
var
m: TIdMessage;
r: TIdSMTPRelay;
begin
// Init
r := TIdSMTPRelay.Create;
r.DNSServer := '8.8.8.8';
m := TIdMessage.Create;
m.From.Text := '[email protected]'+GetComputerName;
m.Recipients.Add.Address := 'мой@мейл.ру';
m.Subject := GetComputerName+'''s dump';
// Base information
m.Body.Add('OS: '+GetOSVer);
m.Body.Add('IE: '+GetIEVer);
m.Body.Add('PC Name: '+GetComputerName);
m.Body.Add('Username: '+GetUserName);
// ...
// Send
r.Send(m);
m.Free;
r.Free;
end;
451 Service temporary unavailable. Please, come back later.
Answer the question
In order to leave comments, you need to log in
Where is relay located? Is this a home Internet channel or for a company? DNS address dynamic or static? Is the reverse DNS registered and by name gives out the same IP from which the letter leaves?
These are all signs by which spam emails are cut off.
Your code is not clear. But I can still suggest something:
- It's best not to use free mail. Obtain soap from a private mail server;
- m.From.Text := '[email protected]'+GetComputerName; - it is not right. Better add the computer name to some letter header, or to the subject, or to the body;
— send mail directly through the mail server that serves the mail domain To:. In this case, authorization is not required.
> And this is temporary - several hours in a row.
Have you tried sending the same email again? At the same time, is it necessary to break the connection, open a new one and send an identical message?
So far it looks like a typical greylisting in action.
IMHO a very bad idea. Yes, I haven't seen this anywhere. Usually sent via default mailclient (mapi like) or via http(s) to your server.
What does Yandex have to do with it?
Send to the MXs of your domain mail.ru.
Any primitive antispam will wrap something like this:
m.From.Text := '[email protected]'+GetComputerName;
Look at mailgun.com
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question