2
I am using wampserver 2.0 in windows server 2008 R2 Standard.
On the server is installed the SMTP Virtual Server.
In php.ini I have the following configuration:
[mail function]
SMTP = 000.00.000.000 //IP do servidor SMTP, substituí o IP original só para exemplo
smtp_port = 25
sendmail_from = [email protected] //coloquei meu-dominio só para o exemplo
;sendmail_path =
;mail.force_extra_parameters =
mail.add_x_header = On
;mail.log =
I’m trying to e-mail you two ways:
- Using the PHP "mail()" function, however the following message is returned:
SMTP server Response: 550 5.7.1 Unable to Relay [email protected]
- Using the Swiftmailer class and authenticating the submission, however the class returns true stating that the email was sent but in the mailbox there is nothing, already tried with the Hotmail, gmail, and others.
Does anyone have any idea how to solve the problem?
Already tried to change the SMTP port from 25 to 587?
– Gilson P. F.
the server port is 25 according to the system administrator’s information. But is there a problem using port 25? Isn’t that the default? The server responds at port 25, the problem is that nothing arrives at the mailbox.
– Filipe Moraes