Surname not recognized when sending mail via FM
Hi SDN,
I am on WAS 6.20. SRM System.
I have a BSP, which sends mail via FM SO_NEW_DOCUMENT_ATT_SEND_API1.
when putting a normal dialog user in the ICF Service of the BSP I get a mail in my email client, which shows as sender the forename, surname of the corresponding SU01 SAP User. When putting service user in the ICF service the sender, which shows up in my email-client is always 'www' even though I changed fore- and surname of this service user. Why is that?
regards, matthias
Message was edited by: Matthias Kasig
Message was edited by: Matthias Kasig
I am with you. I think they still have a dud server in their farm and when you get it you get the error message. How to get to level two support is the trick I think.
Similar Messages
-
Spinning wheel not showing when sending mail
Hello,
I recently gave my older iMac G5/2GHz to my Mom and got her all set up - I transferred all of her documents and photos from her old original iMac G3/350 to the "new" iMac G5/2GHz. The iMac G5/2GHz has a very clean and up-to-date Mac OS X 10.4.11 on it. I used the iMac G5/2GHz right up until I got my new iMac 3.06 GHz Intel Core 2 Duo a few weeks ago.
I deleted all the prefs files and related files and folders from Mail 2.1.3 and started off with a "fresh" copy of Mail 2.1.3. I then imported all her e-mail messages, folders and addresses from her old version of Outlook Express 5.0.6. I had a few problems with the import but I got it all straightened around (she had a few mail folders named with either a colon ":" or a slash "/" in them so I got that straightened out and everything worked fine afterward).
But there's a strange problem happening with Mail 2.1.3 when she sends e-mails now. I am used to seeing the little "spinning wheel" to the right of the "Sent" mailbox when sending an e-mail to someone and the word "Sent" actually always seemed to change to "Sending" while mail was being sent but it doesn't do that anymore. The only way we can tell what's happening when sending e-mail is to open the Activity window from Mail's "Window" menu.
Has anyone else encountered this problem and is there any way you may know of to fix it so that we can see the "progress" (the "spinning wheel") of the mail being sent to the right of the "Sent" mailbox (without having to use the "Activity" window)?
All of her messages send and receive no problem but I can't, for the life of me, figure out why we can't see the progress of mail being sent out (we can see the progress spinning to the right of the Inbox when checking mail but nothing shows up when sending mail).
Thanks in advance for your help.
GerardHi Gerard,
Yes it can, first I'd try this...
Right click on that Mail folder, choose archive, you'll get everything in the folder, and the folder itself in a file called Mail.zip, move it to a safe place, same for the Mail Downloads folder... only the plist is separate.
/Users/YourUserName/Library/Preferences/com.apple.mail.plist
(Deleting may or may not require you to setup your account(s) again.)
Quit Mail, then In your home folder, try moving this +folder & file+ to the Desktop then reboot...
First, Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move these +folder & file+ to the Desktop.
Move this Folder to the Desktop...
/Users/YourUserName/Library/Caches/Mail/
Move this file to the Desktop...
/Users/YourUserName/Library/Mail/Envelope Index
Reboot. -
Create Hyperlink when sending mail via Outlook
Hi all,
I want to mail a hyperlink from within function module via outlook. Creating the hyperlink and starting function <new mail> in outlook works just fine. But when the document (word, pdf, etc.) contains blanks, the hyperlink gets interrupted.
For example:
h:\temp\word1.doc (this will work just fine).
h:\temp\word 1.doc (error when displaying hyperlink in body of new mail).
I know that sometimes on the internet blanks are displayed as %20. But how to insert this in an ABAP statement using CONCATENATE?
Best regards,
Micky.Hi Micky,
Try using replace command... to replace SPACE with %20
Regards,
Raj
See the example below:
REPLACE
Basic form
REPLACE f WITH g INTO h.
Addition
... LENGTH len (length specification for field f )
Effect
Replaces the first occurrence of the contents of field f in field h with the contents of field g . All fields are handled in their defined length; this means that closing blanks are not ignored.
The return code value indicates whether the string f was found in h and replaced by g :
SY-SUBRC = 0 String replaced.
SY_SUBRC = 4 String not replaced.
Example
DATA FIELD(10).
MOVE 'ABCB' TO FIELD.
REPLACE 'B' WITH 'string' INTO FIELD.
returns:
FIELD = 'AstringCB', SY-SUBRC = 0 -
SMPT server does not recognized when send email use POP3
I can not send email from outlook on Mac Pro - I use the same server for incoming and out going, incoming email well receive but not outgoing and one can help ?
it notice show as bellow
Error - Through this server
Can not send email. The SMTP server does not recognize any of the authentication methods supported by outlook. Try change your SMTP.... I use the same server for incoming and out going, incoming email well receive but not outgoing and one can help ?The problem is probably the wrong host name. If you have an MSN account the outgoing server may be different than it is for Hotmail. If you log in to your web mail account and go to the Support page you should be able to find instructions to set up POP3 mail. In those instructions should be the host name, port, and any other settings you need.
Usually you just enter the first part of your email address as the user name, but you should be able to confirm this in the POP3 setup instructions. If the user name alone doesn't work then try the full email address. Also, if you have a login name to MSN that is different from your email address you can try that also.
Regarding the "<hostname>:25" entry, many people have found that email sends faster if you specify the port number; if you don't, the iPhone tries all possible ports which can take several minutes. This isn't your problem, but it is good practice to specify the port number. In versions before 1.1.1 the only way to do this was to put the port number after the host name, separated by a colon. In 1.1.1 there is a separate field for in in the Advanced settings.
It would be helpful to know the error message you are getting when you try to send. That will determine whether the iPhone is not finding the server, or is finding it but the send is being rejected by the server.
Keep at it; there is a way to get it to work. -
Configuring mail priority when sending mails via SMTP from ECC 6.0 system
hi all,
we have the problem, that mails which we send via SMTP out of ECC 6.0 system
reach our SMTP server with very low priority. So the server usualy send them in the evening.
Is there a possibility to configure global priority for mails?
best regards
DavorGoto SCOT transaction, double click on STMP you will find the option
Maximum waiting time for repeat send attempt procedure:
Hours/minutes / 30. define the time over there.
II option execute the job- start send process,
Regards,
Mahesh -
Can GZIP compression be used when sending mail via EAS?
I don't see a specific reference to this in the docs; thanks!
Hi Josh i am getting the same error as krishna kumar. Below is my request
<?xml version="1.0" encoding="utf-8" ?>
<SendMail xmlns="ComposeMail">
<ClientId>61103135</ClientId>
<SaveInSentItems />
<Mime>BASE64_STRING_OF_MIME_DATA</Mime>
</SendMail>
Mime Data :
From: [email protected] To:
[email protected] Subject: hello MIME-Version: 1.0 Content-Type:text/plain; charset=\"iso-8859-1\" Content-Transfer-Encoding:7bit X-MimeOLE:Produced By Microsoft MimeOLE V6.00.2900.3350 This is the email body content.
Response :
<SendMail xmlns="ComposeMail">
<Status xmlns="ComposeMail">102</Status>
</SendMail>
Response Header:
"Cache-Control" = private;
"Content-Encoding" = gzip;
"Content-Length" = 142;
"Content-Type" = "application/vnd.ms-sync.wbxml";
Date = "Tue, 10 Feb 2015 12:26:26 GMT";
"MS-Server-ActiveSync" = "15.1";
Server = "Microsoft-IIS/8.0";
Vary = "Accept-Encoding";
"X-AspNet-Version" = "4.0.30319";
"X-BEServer" = BY2PR06MB903;
"X-BackEndHttpStatus" = 200;
"X-CalculatedBETarget" = "BY2PR06MB903.namprd06.prod.outlook.com";
"X-DiagInfo" = BY2PR06MB903;
"X-FEServer" = HKXPR06CA004;
"X-MS-BackOffDuration" = "L/-470";
"X-Powered-By" = "ASP.NET";
"request-id" = "176a5d57-f5a5-433c-b929-f967b13566a2"; -
When a external application tries to send an email via Thunderbird i get an error message, roughly translated it says: "Something went wrong with PostMail, error number 2"
My collegues have the same setup, they have no problem what so ever when sending mail via this way. Any tips would be most welcome. Thanks for your time.Continue at your other thread.
https://support.mozilla.org/en-US/questions/1053959 -
Out of office message when sending mail to Lotus Notes from SAP
Hi,
Is it possible to have an 'out of office' message when sending mail to Lotus Notes from SAP?
I'm sending account statements by mail via a modified version of function FI_OPT_ARCHIVE_CORRESPONDENCE. The SAP username is send as a parameter, and later converted to the e-mail saved in the user profile. This works, - but I would like to have an out of office reply if the user I send to is out of office.
Hope someone can help...
Regards,
LeneAs Thomas pointed out, you can use regular SMTP mail to send the contents to Lotus Notes. You can use the function module SO_OBJECT_SEND or any of the SAP Office function modules to do this.
Only thing to remember is that the SMTP may have been disabled by your basis team due to security risks involved. An alternative could be a lotus notes connector available from IBM.
Srinivas -
My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that o2 account (offline) my mac I have no problem with my iPhone or mac laptop. any suggestions please.
Sorry for the delay...
I did what you've told me, new account and manually copied my files from Time Machine. I had lots of permissions problems, but at the end, almost everything is in order... It seems it had to be with some of the Apple Preferences, but I can't be sure, as most of them were dumped to the trash can.
I still don't have my Mail Rules back, unfortunately, although I did goggled some. It is a pity, as I had around 30 or 40 of them, getting my mail in order to each of its mailboxes, but it is a small price as the rest doesn't show the before syntoms.
Thanks for the help, anyway!! -
I have two mail accounts on my Mac. I want one account to bcc me when I send emails from that account. I checked "automatically bcc myself" under mail>preferences>composing, but both accounts bcc me when sending mail. Can I set this to only bcc myself from one specific email account? Thanks.
It does not make sense that your ssh does not have a dash capital Y (-Y) option. It is in "man ssh", and my 10.6.6 has the -Y option, and I've had a -Y option since at least Tiger (10.4) days.
My ssh is in /usr/bin/ssh
I'm not very good at X11 issues, so I'm just throwing ideas out there.
Does your broken account have a $HOME/.ssh/config file, and if so, what is in it?
Does the broken account have any $HOME/.x* or $HOME/.X* files that X11 might be reading to configure your X11 behavior differently from the new test account?
$HOME/.Xauthority
$HOME/.Xdefaults-<hostname>
$HOME/.Xresources
$HOME/.ICEauthority
$HOME/.keymap.km
The above are a few names I found looking through "man X"
While I'm thinking about it, I assume that when going to the server, you are using the exact same user account on the server, so that you have a constant at least at that end.
Have you tried trashing your
$HOME/Library/Preferences/org.x.X11.plist
file, to see if that is affecting the broken account?
Again, I am just throwing out ideas to see if anything sticks. -
Problem when sending mails with excel attached
Hi
I'm tryin to send mails via SAPOffice with attached excel documents. I'm using FM SO_NEW_DOCUMENT_ATT_SEND_API1. I have a problem with the code. Here I post it:
DATA: ti_objbin LIKE solisti1 OCCURS 150 WITH HEADER LINE,
ti_objhex LIKE solix OCCURS 150 WITH HEADER LINE.
DATA: BEGIN OF i_excel,
sobid(8) TYPE c,
tab1 TYPE X VALUE 09, "tab code
name(80) TYPE c,
tab2 TYPE X VALUE 09, "tab code
city(40) TYPE c,
tab3 TYPE X VALUE 09, "tab code
kostl(10) TYPE c,
tab4 TYPE X VALUE 09, "tab code
ktext(20) TYPE c,
tab5 TYPE X VALUE 09, "tab code
fasig(10) TYPE c,
tab6 TYPE X VALUE 09, "tab code
ruta(255) TYPE c,
fin TYPE X VALUE 13, "carriage return
END OF i_excel.
i_excel-sobid = wa_datos-sobid.
i_excel-name = wa_datos-name.
i_excel-city = wa_datos-city.
i_excel-kostl = wa_datos-kostl.
i_excel-ktext = wa_datos-ktext.
i_excel-fasig = wa_datos-fasig.
i_excel-ruta = wa_datos-ruta.
WRITE i_excel TO ti_objbin-line.
APPEND ti_objbin.
CLEAR ti_objbin.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
put_in_outbox = 'X'
TABLES
packing_list = ti_objpack
object_header = ti_objhead
contents_bin = ti_objbin
contents_txt = ti_objtxt
* contents_hex = ti_objhex
receivers = ti_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
I have used this code before, in 4.6C release and it works fine, but now I'm on ECC5.0 and when i check the code, the next error message is generated: ""I_EXCEL" cannot be converted to a character-type field." If i try using MOVE i_excel TO i_objbin-line instead of WRITE, the error message changes to: ""TI_OBJBIN-LINE" and "I_EXCEL" are not mutually convertible in a Unicode program. program.". I have tried using ti_objhex table instead of ti_objbin in order to use 'context_hex' parameter (instead of 'context_bin') on FM, but i get the same result.
I've been searching any other FM to do this, and i've found more FM of SOI1 function group but i didn´t get the expected result. So i need to send the message with the excel attached, using this FM or any other, but I need some help. Anyone can help me?
Thanks and Regardshi this is a simple example to send the excel sheet as a mail
TABLES: ekko.
PARAMETERS: p_email TYPE somlreci1-receiver .
TYPES: BEGIN OF t_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
wa_ekpo TYPE t_ekpo.
TYPES: BEGIN OF t_charekpo,
ebeln(10) TYPE c,
ebelp(5) TYPE c,
aedat(8) TYPE c,
matnr(18) TYPE c,
END OF t_charekpo.
DATA: wa_charekpo TYPE t_charekpo.
DATA: it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
w_cnt TYPE i,
w_sent_all(1) TYPE c,
w_doc_data LIKE sodocchgi1,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
*START_OF_SELECTION
START-OF-SELECTION.
Retrieve sample data from table ekpo
PERFORM data_retrieval.
Populate table with detaisl to be entered into .xls file
PERFORM build_xls_data_table.
*END-OF-SELECTION
END-OF-SELECTION.
Populate message body text
perform populate_email_message_body.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Example .xls documnet attachment'
'XLS'
'filename'
changing gd_error
gd_reciever.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM initiate_mail_execute_program.
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
FORM data_retrieval.
SELECT ebeln ebelp aedat matnr
UP TO 10 ROWS
FROM ekpo
INTO TABLE it_ekpo.
ENDFORM. " DATA_RETRIEVAL
*& Form BUILD_XLS_DATA_TABLE
Build data table for .xls document
FORM build_xls_data_table.
data: ld_store(50) type c. "Leading zeros
CONSTANTS: con_cret(5) TYPE c VALUE '0D', "OK for non Unicode
con_tab(5) TYPE c VALUE '09'. "OK for non Unicode
*If you have Unicode check active in program attributes thnen you will
*need to declare constants as follows
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
con_cret type c value cl_abap_char_utilities=>CR_LF.
CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR' INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
LOOP AT it_ekpo INTO wa_charekpo.
*Modification to retain leading zeros
inserts code for excell REPLACE command into ld_store
=REPLACE("00100",1,5,"00100")
concatenate '=REPLACE("' wa_charekpo-ebelp '",1,5,"'
wa_charekpo-ebelp '")' into ld_store .
concatenate ld_store into .xls file instead of actual value(ebelp)
CONCATENATE wa_charekpo-ebeln ld_store wa_charekpo-aedat wa_charekpo-matnr INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
ENDLOOP.
ENDFORM. " BUILD_XLS_DATA_TABLE
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = pit_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
FORM initiate_mail_execute_program.
WAIT UP TO 2 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAM
*& Form POPULATE_EMAIL_MESSAGE_BODY
Populate message body text
form populate_email_message_body.
REFRESH it_message.
it_message = 'Please find attached a list test ekpo records'.
APPEND it_message.
endform. " POPULATE_EMAIL_MESSAGE_BODY
regards,
venkat. -
Sending mails via conversion channel according to sender
Hi
I need to run a script on some mails sent by specific users.
I am using the conversion channel, but in that way all mails using that channel are using the script.
I need that only mails from specific users will use that script.
What is the best method to do so?
Thanks
ShlomiHi
I followed the document, but had some problems.
First, When adding the Tag to the mapping file it didn't seem to work, so I put it in the conversion file and then, as it should be, only mails from users that had the tag run via the conversion.
However, it is working only with internal mail.
When sending mails to servers outside my network this tag is ignored.
When sending mail internaly this is the output of the imsimta test -rewrite command:
+# imsimta test -rewrite [email protected] [email protected]+
address channel =
forward channel =
backward channel =
unique identifier =
header forward address = [email protected], [email protected]
header reverse address = [email protected], [email protected]
envelope forw address =
envelope rev address =
name =
mbox =
Extracted address action list:
[email protected]
[email protected]
Extracted 733 address action list:
[email protected]
[email protected]
Address list expansion:
-13 expansion total.
Expanded address:
[email protected], [email protected]
Submitted address list:
ims-ms
+me@ims-ms-daemon (orig [email protected] [email protected], inter [email protected], initial [email protected] [email protected], host ims-ms-daemon) NOTIFY-FAILURES NOTIFY-DELAYS {color:#ff0000}tag 111{color}+
Submitted notifications list:
The tag value is 111, in that case any mail from a user with the value 111 in the mailConversionTag is sent to the conversion channel.
When sending mail to external address I get this:
+# imsimta test -rewrite [email protected] me@external_domain.com+
address channel =
forward channel =
backward channel =
unique identifier =
header forward address = [email protected], me@external_domain.com
header reverse address = [email protected], me@external_domain.com
envelope forw address =
envelope rev address =
name =
mbox =
Extracted address action list:
[email protected]
me@external_domain.com
Extracted 733 address action list:
[email protected]
me@external_domain.com
Address list expansion:
-13 expansion total.
Expanded address:
[email protected], me@external_domain.com
Submitted address list:
ims-ms
+me@ims-ms-daemon (orig [email protected] me@external_domain.com, inter [email protected], initial [email protected] me@external_domain.com, host ims-ms-daemon) NOTIFY-FAILURES NOTIFY-DELAYS {color:#ff0000}tag 111{color}+
tcp_local
+me@external_domain.com (orig [email protected] me@external_domain.com, initial [email protected] me@external_domain.com, host external_domain.com) NOTIFY-FAILURES NOTIFY-DELAYS+
Submitted notifications list:
It looks like after the first phase the tag in not forwarded.
Do I have to enable something so it will be forwarded?
Thanks,
Shlomi -
Sending mail via forms no longer working
Recently, on one of our servers (XServe G4 - 10.3.9) was running both web and mail. Mail was moved off of the server 2 days ago onto a newer server (10.4.7)
The web server has: php4.3.11 and is ONLY running AFP/OD/Web
Since the transfer of the mail server to the new machine, all web sites can no longer send mail via their scripts (either by sendmail, php's mail(), or by connecting to SMTP server via php).
The web logs do not show errors when it attempts to send the mail...
A look at mail.log shows
"relay=cyrus, delay=2558, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmtpd_)
As far as I'm aware, the web server/sendmail shouldn't be attempting to use cyrus at all. For the record, Cyrus master is not running.
All users can access the mail server without any difficulty. DNS entries have been checked and double checked.
Does anyone know why sendmail and php mail functions stopped working? I really need to get these web forms functioning again. Is the problem with apache, php, sendmail or something else?Hi Camelot,
Thanks for the quick reply and useful suggestion. I did as you mentioned and fired up the mail server.
The mail "delivered" however, I notice a couple issues in the logs (mail.log)
issue #1: I have to start cyrus master manually via > sudo /usr/bin/cyrus/bin/master SA and command line start/stop of mail does not start master. Also, when starting master from command line as mentioned, terminal hangs.
issue #2 (from mail.log) - still getting the same lmtpd error (but messages do finally get delivered):
Jan 14 03:58:24 www postfix/pipe[2914]: 3503858502D: to=<[email protected]>, relay=cyrus, delay=5327, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmptd_ )
Jan 14 03:59:39 www postfix/cleanup[2906]: B60AE58572B: to=<[email protected]>, relay 123.123.123.123[123.123.123.123], delay=0, status=sent (250 Ok: queued as 9FBF41BCBCA)
Do you think these are "issues" to contend with or are they "normal" occurances? -
Im Apple Mail using iMac G4 and G4 tower. Both will recieve an send mail find via dial-up but will not send mail via dsl connection.
We get our mail via ethernet > router > antenna > atenna > another router > antenna > ten miles away at another antenna then to dsl source.
So our dsl connection/signal is going threw three other antennas and at least one router here in office before we get it.
My ISP provider says we need to talk to our DSl provider.
Any ideas? Our computer tech is out of office touch for a week.
RanThanks but this doesn't answer my question.
Allan, I am 99% percent sure that my ISP is not the same ones who supply our ethernet/broadband/DSL.
Is your internet service provider (ISP) for your
dial-up connection different from the ISP for the DSL
connection?
Yes, I believe that they are differrent, however, I have new info.
At first my G4 tower with Earthlink account would not send out over etherner/broadband/DSl, but now it does! I, nor anyone else, has made any changes to the outgoing address that works for dial-up connection and is what we have always used until yesterday when we first tried the dsl/braoband
Kind of a different situation and not typical or the
norm to have a company that provides a DSL connection
not be the internet service provider for the
connection.
Someone new came into our building for office space. He had the router, ethernet cables and antenna installed. He/we get electro-magnetic radiational signal from a larger business across the street who has a tower --soon to be a taller tower-- and they get there radiational signal from 10 miles away.
Knowing who your ISP is for connecting to the
internet regardless if using a dial-up connection or
a DSL connection (DSL is considered a broadband) is
important and if the email account and SMTP server
being used is provided by the ISP being used for your
internet connection or by a different email account
provider not associated with the ISP used for
connecting to the internet.
Yes, I understand that is the case. Maybe I'm wrong and by some coincidence the DSL provider is Earthlink and that is why the G$ tower account began working for the outoging mail.
Im still having the sam problem on the G4 iMac which is a local.com account they have told us the same as you have, that we need to know who the DSL provider is and what info they require in the outgoing( smtp ) line.
You mentioned Earthlink which is an internet service
provider that offers dial-up access and/or DSL access
so does the Earthlink protocol you mentioned mean you
are having problems sending with an Earthlink email
account and SMTP server?
Earthlink account is working now so again perhaps the DSL provider is coming through Earthlink and ergo we didnt need to make changes to the outgoing( smtp ) info line.
Thats the only way that one can be explained.
I take it you use the dial-up connection at home
(which is provided by Earthlink?) and the DSL
connection is used at the office?
Thats correct. The inital DSl source for the business that is 10 miles away, must use Earthlink. I'm now presuming this is the case with this new info.
However, there is another --3rd-- business on other side of street and he uses --Apple mac just like me-- and his ISP is "host centric". I looked at his mac preference accounts outgoing ( smtp ) line and his is
"mail.the business name.com:his email address",
i.e. he does not use Earthlink but he has no problem sending out mail via the same DSl/broadband connections we have
The only reason he has his address in the outgoing mail liine is bceause he too is in larger business building with several differrent computers and email address's.
I've tried all kinds of combinations that are similar to the Earthlink outgoing and the hostcentric outgoing
but none work for the local.com account.
The exact error message provided when trying to send
messages is also pertinent information.
"message delivery failed" "the attempt to read data from the server 'server-name' failed"
Then it gives me option to try differrent server names.
Thanks for your efforts Allan and ohters.
Ran -
Sending mail via Javascript.
It is possible to send mail via a Javascript. If so can anyone support me with the code to do so.
you use the Windro$$ scripting host, and use an ActiveXObject to access the Outlook (not express) poroperties.
I used to do them a lot because they save me time... all automated is always better.
For example, here is a script that changes the read-only, etyc file properties on a windro$$ box. (I used it when copying CDs)
/* Changes the file attributes in a batch of files starting in
* the current directory and progressing according to parameters
/* LOGIK:
-get the path to a file in folder
change attribute of file/dir.
repeat until there are no more files
go to next folder
start again
* VARIABLE PARAMETERS *
* includeSubDirectories {true | false} *
* Should the subdirectories' files be changed too? *
* numberOfLevelsDeep {0 | 1..99999999999} *
* The number of levels of subdirectories that should be *
* affected (0 = all) *
* onlyFilesWithExtension {"" | "extension" | ["extension", *
* "list"]} *
* Only the fies with this extension are to be changed *
* ("" = all, no regexp) (arrays can be used ["htm", "html", *
* "gif", "jpg", "jpeg"]) *
* NewAttributes: *
* readOnly {true | false} *
* Set files to read only? *
* hidden {true | false} *
* Set files to hidden? *
* archive {true | false} *
* Set files to archive? *
* system {true | false} *
* Set files to system files? *
var includeSubDirectories = true;
var numberOfLevelsDeep = 0;
var onlyFilesWithExtension = "";
var NewAttributes = {
readOnly : false,
hidden : false,
archive : false,
system : false
//MAIN FUNCTION
function main(){
chmod(path, 0, numberOfLevelsDeep, includeSubDirectories);
//OBJECTS
//FUNCTIONS
// This arguments are here just to pass information around during
// runtime
function chmod(dir, browseNumber, levels, subdirs){
//If the number of levels deep has been reached and
//the number of levels is not 0 then end
if(browseNumber > levels && levels != 0){
return;
}else{
browseNumber++;
//get directory as a folder object
dir = FSO.GetFolder(dir);
var FILES = new Enumerator(dir.files);
var DIRECTORIES = new Enumerator(dir.subFolders);
for(; !FILES.atEnd(); FILES.moveNext()){
try{
//Change file settings
var currentFile = FSO.getFile(FILES.item());
//if we have an extension array...
if(extensionIsArray){
for(var i in onlyFilesWithExtension){
if(onlyFilesWithExtension[i] == ""
|| FSO.getExtensionName(currentFile).toLowerCase(
) == onlyFilesWithExtension.toLowerCase()){
changeAttributes(currentFile);
break;
}else{
if(onlyFilesWithExtension == ""
|| FSO.getExtensionName(currentFile).toLowerCase(
) == onlyFilesWithExtension.toLowerCase()){
changeAttributes(currentFile);
}catch(error){
WSH.popup("Unable to change file '" + currentFile + "'\n" + error.description, 0);
for(; !DIRECTORIES.atEnd(); DIRECTORIES.moveNext()){
if(subdirs){
chmod(DIRECTORIES.item(), browseNumber, levels, subdirs);
changeAttributes(DIRECTORIES.item());
}else{
return;
function changeAttributes(filename){
var err = "pagefile.sys";
if(("" + filename).substring(("" + filename).length - err.length, ("" + filename).length).toLowerCase() == err){
return; // The file is the virtual memory buffer... ignore!
//Try to use the filename as if it was a file.
//If operation fails, then we have a folder.
//In either case the change of properties should work.
try{
filename = FSO.getFile(filename);
}catch(error){
filename = FSO.getFolder(filename);
//Change the file/folder attributes if necessary
for(var i = 0; i < 4; i++){
if(filename.attributes & modes[i]){
if(!newca[i]){
filename.attributes = filename.attributes - modes[i];
}else{
if(newca[i]){
filename.attributes = filename.attributes + modes[i];
//CONSTANTS
var FSO = new ActiveXObject("Scripting.FileSystemObject");
var WSH = new ActiveXObject("WScript.Shell");
//VARIABLE DECLARATIONS
//geth the location of the script
var path = FSO.getParentFolderName(WScript.scriptFullName);
//If this is an array, element 0 will not be undefined
var extensionIsArray = onlyFilesWithExtension[0] + "" != "undefined";
//Convert object to usable array
var newca = [NewAttributes.readOnly, NewAttributes.hidden, NewAttributes.archive, NewAttributes.system,];
//[readOnly, hidden, archive, system]
var modes = [1, 2, 32, 4];
//changeAttributes("c:\\autoexec.bat");
//Go!!!
main();
dave.
Maybe you are looking for
-
IPhoto not responding when importing photos from Canon Powershot SD450
Recently I have been unable to import photos from my camera. I can see the thumbprints but when I try to import iPhoto hangs and has to be force quit? I am able to take the SD Card and insert it into an SD card reader, so there is no problem with the
-
Pls explain how to add standard text in sapscript & smartforms
Dear friends, pls explain how to implement standard text into sap script and smartforms. in how many we can do. and what is diff between include text & text modules in smartforms. how we can translate into multiple languages. Regards Jagadeeshwar.B
-
When I start my program I will show an information message about what the program does. Where in my program should I write this message and how?
-
Exclude customer from the account statement
Hi All, Currently when we generate the account statement in F.27 for a range of customer, then the system generated the statement for all the customers. We want to block certain customer from account statement creation like dunning block or payment b
-
Entering Goods Receipting for Service relatated PO items (item category D)
Hi, Is it possible to receipt a monetary value on an SRM GR document as opposed to a fixed quantity. The particular example that we have is that our vendors invoice usually trigger our GR (due to constraints, this culture cannot be changed!) and in m