Problem when send an email with mail client!
Hi!
My mail server have MTA front end and Message Store back end with version:
./imsimta version
Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)
libimta.so 7u2-7.02 64bit (built 02:28:03, Apr 16 2009)
Using /opt/sun/comms/messaging64/config/imta.cnf (compiled)
SunOS SMSG 5.10 Generic_139556-08 i86pc i386 i86pcMy users and I are having problem following: Send an email very slow, mail client is connected to front end but mail is not delivered, after that, I stop and resend this email several times then it is can delivered. While the mail was not send, i can telnet to front end with port 25. My users and I are using Thunderbird and Microsoft Outlook. What is problem on my mail server ?
I see time on MTA front end and Message Store are not synchronized, maybe this could be the problem?
Thanks!
NguyenPhuc wrote:
Are you using any kind of MTA spam filter plugin?I removed plugin spam filter, now on MTA server don't have plugin spam or virus !Are you saying you did have a spam filter plugin enabled (if so which one(s)) and you have just disabled it?
Are you receiving an excessive number of emails?No, total of number messages in my mailbox is about 1000 emails.I meant is the MTA receiving a large number of emails -- i.e. do you see a lot of emails coming in (mail.log_current)?
Also try the following and see where the delay in accepting emails occurs:
telnet <mta> 25
mail from: [email protected]
rcpt to: [email protected]
data
Subject: test email
To: [email protected]
From: [email protected]
body
.e.g.
-bash-3.00# telnet server 25
Trying 10.15.10.33...
Connected to server.aus.sun.com.
Escape character is '^]'.
220 server.aus.sun.com -- Server ESMTP (Sun Java(tm) System Messaging Server 7u3-16.01 64bit (built Apr 6 2010))
mail from: [email protected]
250-2.5.0 No HELO/EHLO seen; continuing anyway, [10.15.10.33].
250 2.5.0 Address Ok.
rcpt to: [email protected]
250 2.1.5 [email protected] OK.
data
354 Enter mail, end with a single ".".
To: [email protected]
From: [email protected]
body
250 2.5.0 Ok, envelope id [email protected]
quit
221 2.3.0 Bye received. Goodbye.
Connection to server.aus.sun.com closed by foreign host.Regards,
Shane.
Similar Messages
-
When I send an email with Mail, I often confuse the account which I'm using. The result is that I send a message with the wrong account! Is there a way to avoid this (for example a reminder before the email is sent)?
Hi, thanks for the answer, I did that already. Unfortunatly this doesn't help me at all, as I often forget to check the menu. For me composing the message is writing the text, the subject, the person to who is addressed and than press "send".
I often forget to check the "from", and this is a problem because the software select itself one of the accounts.
Isn't there a way at least to put as a default a blank field instead of one of the accounts? or an account which doesn't work so if I forget to specify the "from" I will be rnotofied that the message can't be sent.
I guess this could be a rather common problem for many people!
Thanks
Sergio -
When I click attach when sending an email with an attachment I get a dropdown that says "single image" or "default multiple". I choose one. Nothing happens as far as offering a choice as to what doc or photo to attach. I continue between the attach and attachment and still nothing .What do i need to do?
Hmmm, Permissions are messed up somewhere!?
Can you open to pic say in Preview, select All, Copy, 7 Paste into Mail? -
HAVE A PROBLEM WHEN SENDING AN EMAIL IT STATES IT DOES NOT ALLOW RELAYING
HAVE A PROBLEM WHEN SENDING AN EMAIL IT STATES IT DOES NOT ALLOW RELAYING
You have either entered the wrong SMTP server info or they have blocked the sending of e-mails from outside their network. That message indicates that you are not permitted to send through that server from the network you are using to connect.
Contact them again. There is no magic that will allow you to bypass this. -
Problem by Sending an Email with attached Adobe Interactive Form (Code)
Thanks. I have written Programm, but it does not work as i want it to do. I will send an Email with attached Adobe Interactive Firm to [email protected]. I tried it with "*lo_recipient = cl_sapuser_bcs=>create( sy-uname )" at the marked(bold, fat) position. It worked but the Email was send to my SAP-Account, but i want to send to [email protected], so I tried this (see at code in bold, fat):
lo_rec TYPE adr6-smtp_addr VALUE '[email protected]'. " Empfänger Receiver
lo_recipient = cl_cam_address_bcs=>create_internet_address( lo_rec ).
But it doens`t send the email.
Can anybody help me please???
Kevin
Here my Code:
Report FP_EXAMPLE_01
Printing of documents using PDF based forms
REPORT z_example_02.
Data declaration
DATA: carr_id TYPE sbook-carrid,
customer TYPE scustom,
bookings TYPE ty_bookings,
connections TYPE ty_connections,
fm_name TYPE rs38l_fnam,
fp_docparams TYPE sfpdocparams,
fp_outputparams TYPE sfpoutputparams,
error_string TYPE string,
l_booking TYPE sbook,
t_sums TYPE TABLE OF sbook,
l_sums LIKE LINE OF t_sums,
fp_formoutput TYPE fpformoutput.
PARAMETER: p_custid TYPE scustom-id DEFAULT 38.
SELECT-OPTIONS: s_carrid FOR carr_id DEFAULT 'AA' TO 'ZZ'.
PARAMETER: p_form TYPE tdsfname DEFAULT 'FP_EXAMPLE_01'.
PARAMETER: language TYPE sfpdocparams-langu DEFAULT 'E'.
PARAMETER: country TYPE sfpdocparams-country DEFAULT 'US'.
Get data from the following tables: scustom(Flight customer)
sbook (Single flight reservation)
spfli (Flight plan)
SELECT SINGLE * FROM scustom INTO customer WHERE id = p_custid.
CHECK sy-subrc = 0.
SELECT * FROM sbook INTO TABLE bookings
WHERE customid = p_custid
AND carrid IN s_carrid
ORDER BY PRIMARY KEY.
SELECT * FROM spfli INTO TABLE connections
FOR ALL ENTRIES IN bookings
WHERE carrid = bookings-carrid
AND connid = bookings-connid
ORDER BY PRIMARY KEY.
Print data:
First get name of the generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = p_form
IMPORTING
e_funcname = fm_name.
IF sy-subrc <> 0.
MESSAGE e001(fp_example).
ENDIF.
Set output parameters and open spool job
fp_outputparams-nodialog = 'X'. " suppress printer dialog popup
fp_outputparams-getpdf = 'X'. " launch print preview
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
Set form language and country (->form locale)
fp_docparams-langu = language.
fp_docparams-country = country.
*fp_docparams-fillable = 'X'.
*fp_docparams-langu = 'E'. "wird jetzt automatisch gesetzt, bzw. kann dynamisch verändert werden
*fp_docparams-country = 'GB'. "wird jetzt automatisch gesetzt, bzw. kann dynamisch verändert werden
currency key dependant summing
LOOP AT bookings INTO l_booking.
l_sums-forcuram = l_booking-forcuram.
l_sums-forcurkey = l_booking-forcurkey.
COLLECT l_sums INTO t_sums.
ENDLOOP.
Now call the generated function module
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
customer = customer
bookings = bookings
connections = connections
t_sums = t_sums
IMPORTING
/1bcdwb/formoutput = fp_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
CALL FUNCTION 'FP_GET_LAST_ADS_ERRSTR'
IMPORTING
e_adserrstr = error_string.
IF NOT error_string IS INITIAL.
we received a detailed error description
WRITE:/ error_string.
EXIT.
ELSE.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
Close spool job
CALL FUNCTION 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*********************Send the form*******************
*********************to the Customer*****************
*********************via Email***********************
*IF i_down = abap_true.
DATA: filename TYPE string,
path TYPE string,
fullpath TYPE string,
default_extension TYPE string VALUE 'PDF'.
Data:
lt_att_content_hex TYPE solix_tab.
*DATA: data_tab TYPE TABLE OF x255.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = fp_formoutput-pdf
TABLES
binary_tab = lt_att_content_hex.
CLASS cl_bcs DEFINITION LOAD.
DATA:
lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
lo_send_request = cl_bcs=>create_persistent( ).
DATA:
lt_message_body TYPE bcsy_text VALUE IS INITIAL.
DATA: lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
APPEND 'Dear Vendor,' TO lt_message_body.
APPEND ' ' TO lt_message_body.
APPEND 'Please fill the attached form and send it back to us.'
TO lt_message_body.
APPEND ' ' TO lt_message_body.
APPEND 'Thank You,' TO lt_message_body.
lo_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = lt_message_body
i_subject = 'Vendor Payment Form' ).
DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
TRY.
lo_document->add_attachment(
EXPORTING
i_attachment_type = 'PDF'
i_attachment_subject = 'Vendor Payment Form'
i_att_content_hex = lt_att_content_hex ).
CATCH cx_document_bcs INTO lx_document_bcs.
ENDTRY.
lo_send_request->set_document( lo_document ).
DATA:
lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
lo_send TYPE adr6-smtp_addr VALUE '[email protected]'. "Absender SENDER
lo_sender = cl_cam_address_bcs=>create_internet_address( lo_send ).
Set sender
lo_send_request->set_sender(
EXPORTING
i_sender = lo_sender ).
Create recipient
DATA:
lo_recipient type ref to if_recipient_bcs value is initial.
Data:
lo_rec TYPE adr6-smtp_addr VALUE '[email protected]'. " Empfänger Receiver
lo_recipient = cl_cam_address_bcs=>create_internet_address( lo_rec ).
*lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
Set recipient
lo_send_request->add_recipient(
EXPORTING
i_recipient = lo_recipient
i_express = 'X' ).
*lo_send_request->add_recipient(
*EXPORTING
*i_recipient = lo_recipient
*i_express = 'X' ).
Send email
DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
lo_send_request->send(
EXPORTING
i_with_error_screen = 'X'
RECEIVING
result = lv_sent_to_all ).
COMMIT WORK.
MESSAGE 'The payment form has been emailed to the Vendor' TYPE 'I'.Hi Kevin,
Please try this code to send your mail, i wrote it and works well in many system.
Take care if in your profile you got an e-mail adress define .
Take care also of trnasaction SCOT customizing, are you able to send mail to e-mail adress ?
Let me know if it's works.
Best regards.
<i>**----
CLASS-DEFINITIONS
DATA: send_request TYPE REF TO cl_bcs.
DATA: document TYPE REF TO cl_document_bcs.
DATA: sender TYPE REF TO cl_sapuser_bcs.
DATA: recipient TYPE REF TO if_recipient_bcs.
INTERNAL TABLES
DATA: l_mailtext TYPE soli_tab.
DATA: iaddsmtp TYPE TABLE OF bapiadsmtp.
DATA: ireturn TYPE TABLE OF bapiret2.
VARIABLES
DATA: mail_line LIKE LINE OF l_mailtext.
DATA: bapiadsmtp TYPE bapiadsmtp.
DATA: subject TYPE so_obj_des.
DATA : att_subject TYPE so_obj_des.
DATA : w_except TYPE REF TO cx_root .
CONSTANTS : c_defmail TYPE ad_smtpadr VALUE
'[email protected]' .
FIELD-SYMBOLS : <smtp> TYPE bapiadsmtp.
*Convert the pdf given by function module into Binary .
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = output-pdf "PDF file from function module
TABLES
binary_tab = hexa.
*Set subject of the mail
subject = 'Exemple de PDF interactif'.
Set text of the mail
mail_line = 'Merci de remplir le formulaire et nous le retourner'.
APPEND mail_line TO l_mailtext .
Set the name of the attached document
att_subject = 'Template du PDF'.
TRY.
Create persistent send request
send_request = cl_bcs=>create_persistent( ).
Get sender object
sender = cl_sapuser_bcs=>create( sy-uname ).
Add sender
CALL METHOD send_request->set_sender
EXPORTING
i_sender = sender.
Read the E-Mail address for the user
CALL FUNCTION 'BAPI_USER_GET_DETAIL'
EXPORTING
username = sy-uname
TABLES
return = ireturn
addsmtp = iaddsmtp.
LOOP AT iaddsmtp ASSIGNING <smtp> WHERE std_no = 'X'.
CLEAR bapiadsmtp.
MOVE <smtp> TO bapiadsmtp.
ENDLOOP.
CASE bapiadsmtp-e_mail.
WHEN space.
No adress main for user, so send it to the default mail adress
recipient =
cl_cam_address_bcs=>create_internet_address( c_defmail ).
WHEN OTHERS.
recipient =
cl_cam_address_bcs=>create_internet_address( bapiadsmtp-e_mail ).
ENDCASE.
Add recipient with its respective attributes to send request
CALL METHOD send_request->add_recipient
EXPORTING
i_recipient = recipient
i_express = 'X'
i_copy = space
i_blind_copy = space
i_no_forward = space.
Set that you don't need a Return Status E-mail
CALL METHOD send_request->set_status_attributes
EXPORTING
i_requested_status = 'E'
i_status_mail = 'E'.
set send immediately flag
send_request->set_send_immediately( 'X' ).
*Build Document
document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = l_mailtext
i_subject = subject ).
add attachment to document
CALL METHOD document->add_attachment
EXPORTING
i_attachment_type = 'PDF'
i_attachment_subject = att_subject
i_att_content_hex = hexa.
Add document to send request
CALL METHOD send_request->set_document( document ).
Send document
CALL METHOD send_request->send( ).
COMMIT WORK.
CATCH cx_send_req_bcs INTO w_except.
CATCH cx_address_bcs INTO w_except.
CATCH cx_document_bcs INTO w_except.
ENDTRY.</i> -
Can't send any email with touchpad client.
In the last week or so I am no longer able to send any emails with the Touchpad email client. This had worked fine on my home WiFi up till then. I have a hotmail an a gmail account and neither work. I have seen a couple limited posts on this but am surprised there aren't more issues with this. I had restarted several times, deleted and re-added accounts and no fix.
Any help appreciated....
Post relates to: Pre p100eww (Sprint)OK, I Doctored my Touchpad and the email sending via hotmail and gmail are now working. I haven't doctored in about 6 months which isn't too bad but it would be nice to not have to do this.
-
Getting errors when sending an Email with DI
Hi there,
I'm trying to send an email using DI and getting this error if I use smtp_to:
'Cannot find the full path for file <C:/Program Files/Business Objects/BusinessObjects Data Services/bin/smtp>, due to error'
and if I use mail_to:
'There was no default login, and the user failed to log in successfully when the login dialog box was displayed. No message was'
Can someone help and tell me what am i doing wrong, or am I missing configurations.
Your help is very much appreciated.
Gsecure
Edited by: gsecure on Mar 18, 2010 10:53 AM
Edited by: gsecure on Mar 18, 2010 10:53 AMHi everyone,
I installed DI 3.2 which solved the problem, I think my 3.1 was not installed correctly.
thank you.
Edited by: gsecure on Apr 16, 2010 8:54 AM -
Send encrypted email with Mail?
I noticed this article regarding using certificates to send encrypted emails from the Mail app. However, it's outdated and no longer supported by Apple. Do you guys know if 10.7.3 works the same way? Basically, I want to use a secure certificate to encrypt my outgoing email messages. I'm running 10.7.3.
Thanks!It still works the same way. You can get a free signing certificate, valid for one year and suitable for personal use, from startssl.com.
-
Problems when sending an email through a servlet
Hi I have a servlet trying to send an email to an address given.. but the servlet does not respond at all, it doesn's throw any exception nor displays any message, anything I hope you can help, this is the DoGet method I have in the servlet:
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
System.out.println("In doGet method");
StringBuffer body=null;
try {
body = setBodyMessage(request);
sendmail(body);
out.println("<table align=center cols= 2 border=0 width=100% height=100% >");
out.println("<tr><td>");
out.println("<div align=center><b><font face=Arial, Helvetica, align=center sans-serif size=4 color='red'> The Change request was sent </font></b></div></td></tr></table>");
catch(NullPointerException e){
e.printStackTrace();
out.println(e.toString());
out.println(e.getMessage());
catch (Exception e) {
e.printStackTrace();
System.err.println(e.toString());
System.out.println(e.toString());
finally{
out.close();
The function setBodyMessage, sets a properly e-mail body message to be sent by the parameters that come from a previous form page.
I have this sendmail method defined as follow:
public void sendmail(StringBuffer mailBody){
String email = "[email protected]";
try{
PrintStream outmail;
SmtpClient send = new SmtpClient("nyschx06psge.sch.ge.com");
send.from("[email protected]");
send.to(email);
outmail = send.startMessage();
outmail.println("From: [email protected]");
outmail.println("To: " + email);
outmail.println("Subject: Welcome");
outmail.println(mailBody.toString());
outmail.flush();
outmail.close();
send.closeServer();
catch (Exception e) {
System.out.println(e.toString());
e.printStackTrace();
I try it out in a jsp page and the code works but I need it running in a servlet. Can anyone help me please?, thanks in advance.
Regards.Are you able to print the value of StringBuffer body before calling the sendmail method?
-
I can put the first letter of the address instantly, but I cannot put the rest of the address in after the first letter. It takes minutes just to put in the full address. What is wrong? Address for answer is [email protected]
Something is wrong
We could not activate your account. Please make sure that you have clicked the correct link in your email or typed in the correct address.
And my new post is not on the forum. It's titled "how do I get rid of the blank space at the bottom of the new Firefox menu?" -
I'm not able to send emails with mail.ru. Receiving is not a problem. Creating a mail is also not a problem and the mail will be stored at mail.ru as still to be send, only problem is its not possible to send. I noticed the buttons for sending change colour when used but they don't perform. What it is?
Don't know what changed, but all of a sudden able to send emails by mail.ru ...... sorry for bothering.
-
Recently installed Mavericks. Now when I send an email with picture attachment it is received by my gmail account but not received by applel mail. What gives?
Hi Bigt101,
It will be great, if you can provide me with the following info.
which Model printer are you using.
Are you registered to the e-print center.
What email client are you using.
Thanks
Josh.C
Click on the BLUE KUDOS button on the left to say "Thanks"
Although I am an HP employee, I am speaking for myself and not for HP. -
When I send an email with bcc recipients, the bcc does not show in my sent mail so I can't reference back later who I sent the email to. Worked in Snow Leopard but not in Yosemite. Please advise if their is fix for that.
Did you select View->Bcc Address Field from the menu bar?
-
WHEN I SEND AN EMAIL WITH A MICROSOFT WORD OR PDF ATTACHMENT TO MY APPLE COMPUTERS OR I PAD IT SHOWS UP AS WIN MAIL.DAT AND I CANNOT OPEN THE FILE, THIS JUST STARTED HAPPENING. PLEASE HELP ME FIND AN ANSWER. JIM
Please do not type in all caps, that is considered shouting and we can hear you just fine.
This is a MS Office issue, I'd suggest taking it up with Microsoft or a MS Office forum. -
I can send emails with Mail but can no longer receive them. Yet I haven't altered anything. How do I solve this problem. Thanks
Who is your email provider? Have you set up your account manually or was it set up automatically?
Maybe you are looking for
-
IPod Touch No Longer Sees Home Network - Has Been Fine For The Past Year!
Tried to connect my ipod to the internet this morning and it connected fine, then the signal dropped out and back in again. It did the hokey cokey for a while before dissconnecting all together, now it wont even see the SSID of my network. Ive tried
-
I cannot reinstall the Creative Cloud Desktop Application
Yes, I have checked similar questions! I have a CC Photography plan and am running Windows 7 Home Premium 64bit. I wanted to update Lightroom to Lightroom CC from 5.71 but the Creative Cloud App failed to run. I attempted to reinstall it but it fails
-
Can Javascript text link in PDF?
Is there a way to insert a javascript text link in a PDF? I've added web links to text, but I just want to insert some javascript so when the user clicks on the text, it runs my script I post problem in many forums but not got the best answer any hel
-
I get a message to 'contact itunes support to make the purchase' whenbuying coins for slots journey
I get a message to 'contact itunes support to make this purchase' when buying coins for slots journey, help
-
Hi, I have problems to export GB songs to iTunes. I did it a few month ago and it worked fine. But now I tried to export a new song from GB to iTunes, but I can't find the song in iTunes. GB works when I try to eport, then iTunes openes but nothing e