// *****************************************
//  
//  Author:	Chris Gibson
//  Date:	29/04/03
//
// Use Smtp with a copy and monitor command to 
// connection check progress. Message has bcc
// recipients to make code coverage include bcc
// handling
// 
// Requirements:
//   
//   Ensure that the file rfc822bcctest.txt is in the 
//   emailsmoke directory and that it contains the same 
//   destination address as the email address below.
//  
//  Performence Test Script for Case 3
//  TO run t_email for Case 3 performance testing
//  rename this file to script.txt and copy it 
//  to c:\msgtest\emailsmoke 
//  
// *****************************************


[main]
email_client_test email

[email]
smtp_client_test smtp_1

[smtp_1]
clean_message_folder
start_client_session
select_root_folder
add_comment select smtp service
smtp_service smtp_service_1
add_comment select testmessage as destination name
select_destination_folder testmessage
select_root_folder
select_folder local
select_folder outbox
add_comment create email in outbox
create_email_message emailsmoke rfc822bcctest.txt
select_all_messages
add_comment Sending the created message
add_comment Copy and monitor
copy
check_smtp_error 0
add_comment *** Test Message Sent ***
add_comment wait for 1 secs
wait 1
// check message received
reset_client

[smtp_service_1]
set_alias testmessage
// Msgtest06
set_server lon-msgtest06.intra
set_email_address smtp@lon-msgtest06.intra
set_reply_address smtp@lon-msgtest06.intra
set_receipt_address smtp@lon-msgtest06.intra
//set_port 25
set_tls 0
//set_wrapped_tls 1
//set_port 465
set_wrapped_tls 0
set_port 25
