Send mail feature in test link 1.8.5

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Send mail feature in test link 1.8.5

Postby sn82w » Wed Jul 11, 2012 9:02 am

Please any one help me in enabling sendmail feature.
sn82w
Advanced user
 
Posts: 45
Joined: Fri Apr 27, 2012 6:38 pm

Re: Send mail feature in test link 1.8.5

Postby TurboPT » Thu Jul 12, 2012 1:58 am

What sort of trouble are you having?

I believe the config [and custom_config] files have basic information.
TurboPT
Member of TestLink Community
 
Posts: 337
Joined: Sun Dec 10, 2006 4:51 am

Re: Send mail feature in test link 1.8.5

Postby sn82w » Thu Jul 12, 2012 7:08 am

Made changes in
# Configure using custom_config.inc.php

// SMTP server Configuration ("localhost" is enough in the most cases)
$g_smtp_host = 'smtp host'; # SMTP server MUST BE configured

$g_tl_admin_email = 'adminmail id' # for problem/error notification
$g_from_email = $g_tl_admin_email; # email sender
$g_return_path_email = 'admin mail id';

# Urgent = 1, Not Urgent = 5, Disable = 0
$g_mail_priority = 1;

# Taken from mantis for phpmailer config
define ("SMTP_SEND",2);
$g_phpMailer_method = SMTP_SEND;

But still am geting error like
PROBLEMS SENDING MAIL TO: user mail id
Mailer Error: The following From address failed: admin mail id

Please suggest any solutions.
Thanks in advance.
sn82w
Advanced user
 
Posts: 45
Joined: Fri Apr 27, 2012 6:38 pm

Re: Send mail feature in test link 1.8.5

Postby GunnarD » Thu Jul 12, 2012 10:17 am

Replace "adminmail id" and "admin mail id" with valid email adresses.

$g_tl_admin_email = "testlink@example.com";
$g_return_path_email ="testlink@example.com";

Replace testlink@example.com with the mailadress you want to have as from adress. I often use testlink@my.domin.com so that i can se directly that it is a mail from my testlink.
GunnarD
 

Re: Send mail feature in test link 1.8.5

Postby sn82w » Mon Jul 23, 2012 11:01 am

Hi I have given my mail id only in the place of $g_tl_admin_email. Still its not working.
any other solutions.
sn82w
Advanced user
 
Posts: 45
Joined: Fri Apr 27, 2012 6:38 pm

Re: Send mail feature in test link 1.8.5

Postby sn82w » Tue Oct 09, 2012 5:40 am

Any one can suggest me to configure the Sendmail in TestLink. In results also am not able to use the Email(HTML) feature because of sendmail problem. Getting error when ever choose the Email(HTML) in results like "Error sending emailThe following From address failed: admin@gmail.com".
When ever am trying to assign a testcase getting error like"PROBLEMS SENDING MAIL TO: user@gmail.com
Mailer Error: The following From address failed: admin@gmail.com.com"

Any one can suggest solution.
sn82w
Advanced user
 
Posts: 45
Joined: Fri Apr 27, 2012 6:38 pm

Re: Send mail feature in test link 1.8.5

Postby TurboPT » Tue Oct 09, 2012 11:11 am

You might need to post your latest mail settings. [make sure to xxx out any password stuff] Are you really the admin@gmail.com? That seems to be a highly doubtful user for the config as a basis for the 'FROM' address.

In 1.8.x, gmail config was tough, but not impossible. Have a look at this thread to see some the various things that had to be done. Note that some posts there are NOT related to gmail, but in the very last post on page one, there is a Mantis issue [4131] mentioned that might be worth checking out.
TurboPT
Member of TestLink Community
 
Posts: 337
Joined: Sun Dec 10, 2006 4:51 am

Re: Send mail feature in test link 1.8.5

Postby sn82w » Wed Oct 10, 2012 5:33 am

hi,
In results,report format:Email(HTML)
It's working fine. Am able to get the mail.
But in Assign testcase execution am trying to assign testcase and trying ti send mail. but am getting eror like:
"PROBLEMS SENDING MAIL TO: admin@gmail.com
Mailer Error: SMTP Error: Data not accepted.
"

What could be the reason?
sn82w
Advanced user
 
Posts: 45
Joined: Fri Apr 27, 2012 6:38 pm

Re: Send mail feature in test link 1.8.5

Postby sn82w » Mon Oct 15, 2012 6:33 am

hi, In Config.inc.php i have done below changes:
// SMTP server Configuration ("localhost" is enough in the most cases)
$g_smtp_host = 'smtp host:port'; # SMTP server MUST BE configured

$g_tl_admin_email = 'adminmail id' # for problem/error notification
$g_from_email = $g_tl_admin_email; # email sender
$g_return_path_email = 'admin mail id';

# Urgent = 1, Not Urgent = 5, Disable = 0
$g_mail_priority = 1;

# Taken from mantis for phpmailer config
define ("SMTP_SEND",2);
$g_phpMailer_method = SMTP_SEND;

Sendmail feature (assign test cases, reports mail) is working in testlink version 1.9.3.
same changes has been done for testlink version 1.8.5.
but results am able to get through mail.But getting error when am trying to assign testcase execution.
"PROBLEMS SENDING MAIL TO: user.gmail.com
Mailer Error: SMTP Error: Data not accepted.'

Please anyone can help me in this.
Last edited by sn82w on Tue Oct 16, 2012 5:25 am, edited 1 time in total.
sn82w
Advanced user
 
Posts: 45
Joined: Fri Apr 27, 2012 6:38 pm

Re: Send mail feature in test link 1.8.5

Postby TurboPT » Mon Oct 15, 2012 11:20 am

Did you check out the Mantis issue mentioned earlier?

I would say there must be something relative in that issue that has helped the mailer going forward into 1.9.x.
TurboPT
Member of TestLink Community
 
Posts: 337
Joined: Sun Dec 10, 2006 4:51 am

Re: Send mail feature in test link 1.8.5

Postby sn82w » Mon Oct 15, 2012 11:25 am

Mantis issue?
I tried to check it but am not able to open the link.
sn82w
Advanced user
 
Posts: 45
Joined: Fri Apr 27, 2012 6:38 pm

Re: Send mail feature in test link 1.8.5

Postby TurboPT » Mon Oct 15, 2012 9:45 pm

sn82w wrote:Mantis issue?

Try this link.
TurboPT
Member of TestLink Community
 
Posts: 337
Joined: Sun Dec 10, 2006 4:51 am

Re: Send mail feature in test link 1.8.5

Postby sn82w » Thu Jan 17, 2013 6:44 am

Am able to get the reports through mail in testling-1.8.5 version. But not able to assign any testcase through mail?
Is there any isuue with 1.8.5 version?
sn82w
Advanced user
 
Posts: 45
Joined: Fri Apr 27, 2012 6:38 pm


Return to TestLink 1.8 (OBSOLETE => EOL)[LOCKED]



Who is online

Users browsing this forum: No registered users and 2 guests