When I sent email from server then it gives me two error -
SMTP Error: Could not connect to SMTP host. Message could not be sent. Mailer Error: SMTP Er
The Gmail Help :
Still can't send mail? If you tried configuring your SMTP server on port 465 (with SSL/TLS) and port 587 (with STARTTLS), but are still having trouble sending mail, try configuring your SMTP to use port 25 (with SSL/TLS).
Still can't send mail?
If you tried configuring your SMTP server on port 465 (with SSL/TLS) and port 587 (with STARTTLS), but are still having trouble sending mail, try configuring your SMTP to use port 25 (with SSL/TLS).