03-07-2019, 09:33 AM
Hello
I try to send an email using IdSMTP and IdMessage.
I define all the settings:
When I try to send to my email and define:
Msg.Recipients.EMailAddresses := 'myemail@zahav.net.il' its work ok
When I try to send to my Gmail email and define:
Msg.Recipients.EMailAddresses := 'myemail@gmail.com'
Its raise an error "Relaying not allowed"
Why?
Thanks, Sorin
I try to send an email using IdSMTP and IdMessage.
I define all the settings:
When I try to send to my email and define:
Msg.Recipients.EMailAddresses := 'myemail@zahav.net.il' its work ok
When I try to send to my Gmail email and define:
Msg.Recipients.EMailAddresses := 'myemail@gmail.com'
Its raise an error "Relaying not allowed"
Why?
Thanks, Sorin