views:

530

answers:

3
Q: 

Dotproject

I Have install dot project on linux machine. using ssmtp for gmail account to sending emails for mails notifications . but when i create any user it doesn't send mails to user email ID for account creation. but i send maail form shell prompt.the error i am getting is Failed to send email: 530 5.7.0 Must issue a STARTTLS command first. 22sm11794837wfd.6 added :( . Please help me if any one have solution....

A: 

I assume "530 5.7.0 Must issue a STARTTLS command first." means that you have to connect with TLS (Transport Layer Security). Does dot project support that?

Karsten
+1  A: 

Gmail requires a secure connection (TLS or SSL).

You need to configure SSMPT (not dotProject) to talk securely with Google's SMTP server.

I think you can just add the following to your ssmtp.conf file and (assuming your SSMTP package was compiled with SSL support) it should then work:

UseTLS=YES

Or perhaps:

UseSTARTTLS=YES

More info here.

Evan
didn't know/see ssmtp ;) upping your answer.
Karsten
A: 

Gmail requires a secure connection (TLS or SSL).

You need to configure SSMPT (not dotProject) to talk securely with Google's SMTP server.

I think you can just add the following to your ssmtp.conf file and (assuming your SSMTP package was compiled with SSL support) it should then work:

UseTLS=YESOr perhaps:

UseSTARTTLS=YES

yes used both setting for

UseTLS=YESOr perhaps:

UseSTARTTLS=YES

but problem is same.

but i am able to send mail from shell prompt using mail command prbllem is with sending mail from dotproject . Please help if any body have solution