Huge problem using apple mail while sending email to a group...
Hey - I am quite confused... apple mail has huge problems using groups with about 150 addresses when writing and sending an email... the writing of emails is nearly impossible. Once the group name is inserted in the addressline (address book in iCloud!), apple mail uses nearly 100% CPU and further writing is nearly impossible. When sending such an email, all addresses are suddenly visible - though the box is NOT checked and the addresses should be hidden... what can I do? I use this feature (sending mails to groups) on a daily basis and cannot accept visible addresses...
Greetings and sorry for inconvenient english...
Christof
How about next time you send to the group, cc yourself, or include yourself in the group. Then receive the email on the iphone, you can "reply all" in order to send to the group. If you use an imap account, you can make a new folder, call it something like "groups", and save different group emails there for the next time you need to "reply all".
Similar Messages
-
How to use java mail to send email to hotmail box
how to use java mail to send email to hotmail box??
i can send emails to other box(my company's email account) but for hotmail, the program didnt print any err or exception the recepient cant receive the mail.
thanksyou ust to download activation.jar and mail.jar and add them to your build path.
i have used the googlemail smtp server to send mail the code is following:
public void SendMail()
Properties props = new Properties();
props.put("mail.smtp.user", username);
props.put("mail.smtp.host", host);
props.put("mail.smtp.port", port);
props.put("mail.smtp.starttls.enable","true");
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.socketFactory.port", port);
try{
Authenticator auth = new SMTPAuthenticator(username,password);
Session session = Session.getInstance(props, auth);
MimeMessage msg = new MimeMessage(session);
msg.setText(text);
msg.setSubject(subject);
msg.setFrom(new InternetAddress(senderEmail));
msg.addRecipient(Message.RecipientType.TO, new InternetAddress(receiver));
Transport.send(msg);
}catch(Exception ex) {
System.out.println("Error Sending:");
System.out.println(ex.getMessage().toString());
and this the SMTPAuthenticator Class which you will need too.
class SMTPAuthenticator extends javax.mail.Authenticator {
private String fUser;
private String fPassword;
public SMTPAuthenticator(String user, String password) {
fUser = user;
fPassword = password;
public PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(fUser, fPassword);
} -
I am usind direct mail to send emails, problem is that when i put hthe STMP server and port number it does not log me in.
does anyone know how?iCloud is a mail system, it neither needs nor will use someone elses email transport.
-
Apple Mail Automatically Sending Emails Before I Hit Send
Hi
I'm having a recurring problem with Apple Mail where emails are being sent by the program before I hit send, so addressee's are receiving half written/finished emails.
I have sync'd 2 x gmail accounts to my Apple Mail, and the same problem happens with each account. Does anyone know what to do to fix this as it's highly annoying!
ThanksWelcome to Apple Discussions.
"I'm having the exact same problem and it's driving me insane. Have you been able to solve it yet?"
Why you reply to yourself?
Anyway, you may want to look at it.
http://www.google.com/support/forum/p/Google%20Apps/thread?tid=5a3d43bcb6f18cf4& hl=en
Hope it helps.
Cheers. -
How to use Apple Mail to send outgoing emails only?
Hello,
I haven't been able to find exactly what I'm looking for elsewhere on the interwebs.
I want to be able to set up the Apple Mail app on my Mac to send outgoing emails only from my Gmail account. I use the Gmail website and my iPhone for sending/receiving emails and I don't want or have a need for all of my Gmail emails to be downloaded into the Apple Mail app or for new emails to appear in the Mail app as they come in.
I just want to be able to send outgoing emails from the app so that I can send photos directly from iPhoto using the Email button. Any help is greatly appreciated!Great news, thanks!
-
Problem Using Apple MAIL to receive/send gmail
I set up MAIL to receive/send gmail yesterday. It seemed to work fine. However, in trying to send e-mail this morning I keep getting an error: cannot send using pop.gmail or smpt.gmail or whatever...I have deleted POP accounts I had (carolina.rr.com) because I no longer have that service. Should I set up MAIL with a POP rather than an IMAP??? Does it make a difference which formula I use? MAIL is v.2.1.3.
Klaus1, I followed those instructions for an IMAP set up. It worked fine yesterday. However, this morning when I tried to send e-mails from MAIL it said it couldn't send them via gmail server. I went into Preferences and made sure that all POP in/out servers were deleted (carolina.rr.com via timewarner) so there could be no confusion: Just the IMAP info remains. I have two e-mails parked in the outbox because everytime I try to send them I get that same error message.
-
APPLE MAIL is sending emails from wrong address
Hello,
This question has probably been asked before, but I haven't been able to find it. Feel free to send me there with a link if it's helpful.
Here's my plight:
I use gmail IMAP and manage 2 email accounts through Apple Mail (5.2). One is the domain catch-all email, [email protected], and the other is my main personal account, [email protected] Usually, whichever mailbox I click on is the address from which my mail is sent. But recently, whenever I've sent mail from [email protected], the recipient has been seeing my personal address ([email protected]), rather than the Info address. But the address line still says "Info" and not my name, if that makes sense. Example:
NORMAL: FirstName LastName "<[email protected]>"; Info "<[email protected]">
NOW (PROBLEM): Info "<[email protected]>"
The replies to the mail I sent from Info are then sent to my personal account. I checked the mail preferences and the Info settings are the same as they've always been. It says the name is Info and the address is [email protected] I'm not sure why Apple Mail is suddenly thinking that the Info emails are coming from my personal account. Is this an Apple Mail issue, or a Gmail issue? Help! I don't want people to be receiving emails from my personal account when it should be from the Info account. Do I need to delete the entire Info mailbox from Apple Mail and start all over?
Thanks for your help!Agreed. I had three gmail accounts, 2 business, one personal, but lately all my attempts to send mail from my personal account wound up being sent from Business instead, even after selecting which account to send it from.
I went into Preferences, Account info, then found all outgoing smtp servers simply called gmail but there were three in the list. It turned out that all my accounts were being directed to one server address.
If you drop down the Edit SMTP Server list, then select each account under Account Information you can see which server is dedicated to which account. Then you can edit the name of the related gmail server to the related account. So you can have gmail personal, gmail business 1, gmail business 2 etc.
Once you have the servers renamed (all the same actually but tells mail which account credentials to use), you can then select the appropriate server to match the right account under Preferences>Account Info front page.
Worked for me.
10.9.1 MBP ret -
How to use Yahoo Mail to send email using email links on webpages
When I'm on a webpage that has a link to send an email, I cut and paste the the email address (which is the link) and paste it into my Yahoo Mail address bar. However, some webpages don't show the email address as a link. Instead, the link might be "write me" or "send mail", so I can't cut and paste an address.
If I click on an email link, a window pops up that says "Welcome to Mail" and it states that the assistant will guide me through the steps to configure my email account. To get started, this assistant requires a password that I don't possess.
So I'm stuck not being able to access an email application that I don't want to use in the first place.
Is there a way to set up my computer so that I could click an email link on a webpage and have Yahoo Mail pop up?
If not, is there at least a way to send an email using an email link that doesn't show the email address, without using (what I assume to be) the Apple mail Application? If it is necessary, how do I recover the password for the mail assistant? I'm not aware of ever having used or set up a password before.
THANK YOUIf you don't want Mail to open, don't click on the app. If it's opening at login, right click its Dock icon>Option>de-select Open at Login.
-
Apple Mail not sending email something about port 25
I am a brand new iMac user. I am unable to use the native iMac mail. When I try to send a message it says something about not being able to send mail...port 25. Any ideas. Is there some kind of set up I need to do? I have a high speed Internet connection and it is working just fine.
Please help.
-BrettThis is a common issue between your mail provider and your internet provider. It sounds like your ISP isn't letting you use port 25 to send outgoing mail, which is quite common now, since some internet worms use that port.
Check with your mail provider to see if you can use an alternate port for SMTP (outgoing mail). One possible port is 587. You can set this in Mail Preferences, under Accounts, then Server Settings.
Matt -
Use apple mail to send Chinese language have encoding problem
When I sending a email with Chinese character, receiver received mail have decoding problem. How to solve the problem like this?
Forward mail to third party same problem as above.JKWei wrote:
. How to solve the problem like this?
Before you send your email, go to Message > Text Encoding and choose one of the Chinese encodings, like GB for simplified and Big 5 for traditional. You might have to try different ones, or UTF-8. -
After installing the new Yosemite OS on my iMac I can no longer send email. I can receive email, but not send. I use gmail and can send email on the gmail (google) site, but not on "mail" on my iMac. Any others with this problem? What should we do?
My gmail, which is correctly configured for Mail with gmail SMTP and Google IMAP, works for awhile on Mail, which I leave open while working on other applications. But several times a day I get msg from Google: "We recently blocked a sign-in attempt to your Google Account" . . . and requiring me to verify my account details, re-enter passwords, confirm security settings (or change them from "disable" to "enable less secure methods" and so on). In Mail I also have tried "taking all accounts online", and re-entering my gmail password inside Mail account settings. These steps successfully re-set comms between gmail and Mail ... for awhile, then it happens again. Enough occurrences over a work day that I just quit Mail and revert to accessing gmail directly. Apple Care advisor and an Apple knowledge base article say that Apple can't deal with this, as gmail is third-party app, and they refer me to gmail, and so far I've found nothing helpful there.
From today I also have several instances of a window saying "Mail has unexpectedly closed" and asking me to Re-open it.
I also use Yahoo mail, which stops working with Mac Mail at the same time as gmail, but I do not receive notices to re-verify from Yahoo.
I recently upgraded from Mavericks to Yosemite. The Mail problem happened occasionally with Mavericks but is far more frequent with Yosemite. -
Cannot get or send mail using Apple Mail on iPhone and iPad
Everyone in my household cannot get or send mail on their Apple Mail for iPad and iPhone. We all get the same message: "The user name or password for [account] is incorrect." This just started happening yesterday afternoon. No problems before that. I called my hosting company and Apple, and both blamed the other. My Apple system is always updated, so I have the latest version of Maverick. Had no problems with it up until now.
However, I awoke this morning to find downloaded emails in the same program, but when I go to "get mail," it says the same thing, and still won't allow me to send or receive.
Here's the kicker. I also use Gmail with the exact same accounts (yes, I need both since Apple Mail does things that Gmail doesn't, and vice versa). No problem! I get all my emails and can send with no problem. So, my hosting company claims it can't be them (makes sense). It only happens using Apple Mail, and I have several email addresses. None of them work (other than the strange phenomena of suddenly getting some of them downloaded for no apparent reason).
What do I do from here? I've changed passwords, deleted and tried to set up my emails, only to get the message that they probably will not work. And they don't. I have shut down and restarted my iPad and iPhone, to no avail.
Thank god for my Gmail account, or my business would be closed.
Again, this is happening on four devices in my home: 2 iPads and 2 iPhones.I have a comcast account I use on my phone and use it for receiving and sending mail. When you look at the account in settings, you need to check each of these
incoming mail server: mail.comcast.net
username: the part of your email address before the @
password: your password
outgoing mail server: smtp.comcast.net
Under Advanced
Use SSL: On
Authentication: Password
Server Port: 995
If you cannot make it work from changing settings in the account, delete the account and start over. Use the "Other" setting when starting the account. It is a POP3 account and make the entries I gave you. Once you do that, it should check the entries and validate the account. You shouldn't have any trouble from there. Those settings will work from either the iPhone on cell, or wireless. Mine will even work when I'm at home on my wireless there, which is on the Comcast network.
Hope that helps you. -
Firstly I am unable to use Apple mail except for hotmail, for blueyonder, gmail or Sky as the server shows as (off line) and I have no idea how to get them on line even though I tell them to go there.
My pop up blocker doesn't work and I am blitzed with advertising windows virtually on ever command I make, one seems to be impossible to unsubscribe from.
When I am in an email with a web link the web link doesn't work and I get a window saying that I must have a pop up blocker, but if I switch it off it is no different, what does work is switching the "enable Java script off", then when I get to the web site I can't use it until I switch the java script back on.
I can't do a screen shot either full or partial, when I try it changes the web site that is on screen to another.
So what have I done that might have caused problems, downloading Yosemite seemed to be the start of the problems. Since then I have started to install Mackeeper, after checking with a family members who should know, that MacPaw is safe. I decided that I didn't want to pay the subscription, so went through the uninstall instructions but it comes up as a pop up with considerable regularity.
My stress levels have gone through the roof with pop ups happening so regularly and not being able to use Apple mail.o can anyone help please?
SMail troubleshooting - Yosemite
Troubleshooting sending and receiving email messages
Troubleshooting sending email messages
SMTP servers keep going offline -
Error while sending email to external mail - Urgent
Hi All,
I am getting error while sending email with attachement. The Error code is 02.
I am not able to identify the error. bold Please help me in solving this problem.
Is it anything wrong with the code or Any Configuration with SCOT/SOST.bold
the code i am using is :
REPORT YVR_F MESSAGE-ID XX .
TABLES : EDIDC, EDIDS, EDPAR.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS : P_STATUS LIKE EDIDC-STATUS DEFAULT '51'.
SELECT-OPTIONS : S_DIRECT FOR EDIDC-DIRECT,
S_MESTYP FOR EDIDC-MESTYP,
S_CREDAT FOR EDIDC-CREDAT.
SELECTION-SCREEN END OF BLOCK B1 .
PARAMETER: P_EMAIL LIKE SOMLRECI1-RECEIVER,
P_SENDER LIKE SOMLRECI1-RECEIVER no-display,
P_DELSPL AS CHECKBOX,
P_ONLINE NO-DISPLAY.
DATA : TB_EDIDC LIKE STANDARD TABLE OF EDIDC INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_EDPAR LIKE STANDARD TABLE OF EDPAR INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_KNA1 LIKE STANDARD TABLE OF KNA1 INITIAL SIZE 0 WITH HEADER
LINE.
DATA : TB_ADRC LIKE STANDARD TABLE OF ADRC INITIAL SIZE 0 WITH HEADER
LINE.
DATA: INT_PDF TYPE TABLE OF TLINE WITH HEADER LINE.
DATA : BEGIN OF TB_ED OCCURS 0,
SNDPRN LIKE EDIDC-SNDPRN,
LOC LIKE ADRC-BUILDING,
DOCNUM LIKE EDIDC-DOCNUM,
IDOCTP LIKE EDIDC-IDOCTP,
MESTYP LIKE EDIDC-MESTYP,
DIRECT LIKE EDIDC-DIRECT,
CREDAT LIKE EDIDC-CREDAT,
STATUS LIKE EDIDC-STATUS,
END OF TB_ED.
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.
Job Runtime Parameters
DATA: GD_EVENTID LIKE TBTCM-EVENTID,
GD_EVENTPARM LIKE TBTCM-EVENTPARM,
GD_EXTERNAL_PROGRAM_ACTIVE LIKE TBTCM-XPGACTIVE,
GD_JOBCOUNT LIKE TBTCM-JOBCOUNT,
GD_JOBNAME LIKE TBTCM-JOBNAME,
GD_STEPCOUNT LIKE TBTCM-STEPCOUNT,
GD_ERROR TYPE SY-SUBRC,
GD_RECIEVER TYPE SY-SUBRC.
DATA: W_RECSIZE TYPE I,
W_SPOOL_NR LIKE SY-SPONO.
%_print LIKE pri_params.
DATA: GD_SUBJECT LIKE SODOCCHGI1-OBJ_DESCR,
IT_MESS_BOD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
IT_MESS_ATT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
GD_SENDER_TYPE LIKE SOEXTRECI1-ADR_TYP,
GD_ATTACHMENT_DESC TYPE SO_OBJ_NAM,
GD_ATTACHMENT_NAME TYPE SO_OBJ_DES.
Spool to PDF conversions
DATA: GD_SPOOL_NR LIKE TSP01-RQIDENT,
GD_DESTINATION LIKE RLGRAP-FILENAME,
GD_BYTECOUNT LIKE TST01-DSIZE,
GD_BUFFER TYPE STRING.
Binary store for PDF
DATA: BEGIN OF IT_PDF_OUTPUT OCCURS 0.
INCLUDE STRUCTURE TLINE.
DATA: END OF IT_PDF_OUTPUT.
DATA: GD_RECSIZE TYPE I.
CONSTANTS: C_DEV LIKE SY-SYSID VALUE 'DEV',
C_NO(1) TYPE C VALUE ' ',
C_DEVICE(4) TYPE C VALUE 'LOCL'.
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.
DATA : MSTR_PRINT_PARMS LIKE PRI_PARAMS,
MC_VALID,
P_REPID LIKE SY-REPID,
WF_ID LIKE TSP01-RQIDENT,
LOC_BYTECOUNT TYPE I.
*start-of-selection.
MSTR_PRINT_PARMS-PDEST = 'LOCL'.
P_REPID = SY-REPID.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
authority= ' '
COPIES = '1'
COVER_PAGE = SPACE
DATA_SET = SPACE
DEPARTMENT = SPACE
DESTINATION = 'LP01'
EXPIRATION = '1'
IMMEDIATELY = 'X'
LAYOUT = 'X_65_132'
MODE = SPACE
NEW_LIST_ID = 'X'
NO_DIALOG = 'X'
USER = SY-UNAME
IMPORTING
OUT_PARAMETERS = MSTR_PRINT_PARMS
VALID = MC_VALID
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4.
SUBMIT (P_REPID) TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS MSTR_PRINT_PARMS.
AND RETURN.
NEW-PAGE PRINT ON NO DIALOG PARAMETERS
MSTR_PRINT_PARMS.
perform data.
NEW-PAGE PRINT OFF. "This marks the end of the screen for which the
*SPOOL NO WAS GENERATED.
WF_ID = SY-SPONO.
*converting spool to pdf
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = WF_ID "SPOOL NUMBER
NO_DIALOG = SPACE
PDF_DESTINATION = 'X'
IMPORTING
PDF_BYTECOUNT =
LOC_BYTECOUNT "NUMBER OF BYTES TRANSFERRED
TABLES
PDF = INT_PDF "TABLE FOR PDF REPORT
EXCEPTIONS
ERR_NO_ABAP_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DESTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
OTHERS = 12.
*CALL FUNCTION 'DOWNLOAD'
*EXPORTING
*bin_filesize = loc_bytecount "NO. OF BYTES
*filename = 'C:/EMAILPDF.PDF'
*filetype = 'BIN'
**IMPORTING
**act_filename = loc_filename
*TABLES
*data_tab = int_pdf.
IF P_DELSPL EQ 'X'.
PERFORM DELETE_SPOOL.
ENDIF.
Transfer the 132-long strings to 255-long strings
LOOP AT INT_PDF.
TRANSLATE INT_PDF USING ' ~'.
CONCATENATE GD_BUFFER INT_PDF INTO GD_BUFFER.
ENDLOOP.
TRANSLATE GD_BUFFER USING '~ '.
DO.
IT_MESS_ATT = GD_BUFFER.
APPEND IT_MESS_ATT.
SHIFT GD_BUFFER LEFT BY 255 PLACES.
IF GD_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
DESCRIBE TABLE IT_MESS_ATT LINES GD_RECSIZE.
CHECK GD_RECSIZE > 0.
PERFORM SENDMAIL USING P_EMAIL..
*& Form sendmail
text
--> p1 text
<-- p2 text
FORM SENDMAIL USING P_EMAIL.
CHECK NOT ( P_EMAIL IS INITIAL ).
REFRESH IT_MESS_BOD.
Default subject matter
GD_SUBJECT = 'Subject'.
GD_ATTACHMENT_DESC = 'IDOC LIST'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
IT_MESS_BOD = 'List Of Failed Idocs'.
APPEND IT_MESS_BOD.
IT_MESS_BOD = 'List Of Failed Idocs'.
APPEND IT_MESS_BOD.
If no sender specified - default blank
IF P_SENDER EQ SPACE.
GD_SENDER_TYPE = SPACE.
ELSE.
GD_SENDER_TYPE = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM SEND_FILE_AS_EMAIL_ATTACHMENT
TABLES IT_MESS_BOD
IT_MESS_ATT
USING P_EMAIL
'Document attachment'
'PDF'
GD_ATTACHMENT_NAME
GD_ATTACHMENT_DESC
P_SENDER
GD_SENDER_TYPE
CHANGING GD_ERROR
GD_RECIEVER.
ENDFORM. " sendmail
*& Form DELETE_SPOOL
text
--> p1 text
<-- p2 text
FORM DELETE_SPOOL.
DATA: LD_SPOOL_NR TYPE TSP01_SP0R-RQID_CHAR.
LD_SPOOL_NR = WF_ID. "GD_SPOOL_NR.
CHECK P_DELSPL <> C_NO.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
SPOOLID = LD_SPOOL_NR.
ENDFORM. " DELETE_SPOOL
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
text
-->P_IT_MESS_BOD text
-->P_IT_MESS_ATT text
-->P_P_EMAIL text
-->P_0846 text
-->P_0847 text
-->P_GD_ATTACHMENT_NAME text
-->P_GD_ATTACHMENT_DESC text
-->P_P_SENDER text
-->P_GD_SENDER_TYPE text
<--P_GD_ERROR text
<--P_GD_RECIEVER text
FORM SEND_FILE_AS_EMAIL_ATTACHMENT TABLES IT_MESSAGE
IT_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.
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.
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.
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[] = IT_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 = p_EMAIL.
T_RECEIVERS-REC_TYPE = 'U'.
T_RECEIVERS-COM_TYPE = 'INT'.
T_RECEIVERS-NOTIF_DEL = 'X'.
T_RECEIVERS-NOTIF_NDEL = 'X'.
APPEND T_RECEIVERS.
DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
W_SENT_ALL = 'X'.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_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
object_header = objhead
CONTENTS_BIN = T_ATTACHMENT
CONTENTS_TXT = IT_MESSAGE
RECEIVERS = T_RECEIVERS
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99.
IF SY-SUBRC NE 0.
MESSAGE E000 WITH 'Error occurred while sending'.
ELSE.
MESSAGE I000 WITH 'The document was sent'.
ENDIF.
ENDFORM. " SEND_FILE_AS_EMAIL_ATTACHMENT
*& Form data
text
--> p1 text
<-- p2 text
FORM data.
SELECT SNDPRN
DOCNUM
IDOCTP
MESTYP
DIRECT
CREDAT
STATUS
FROM EDIDC
INTO CORRESPONDING FIELDS
OF TABLE TB_EDIDC
WHERE STATUS = P_STATUS
AND MESTYP IN S_MESTYP
AND DIRECT IN S_DIRECT
AND CREDAT IN S_CREDAT.
SELECT KUNNR
INPNR
FROM EDPAR
INTO CORRESPONDING FIELDS
OF TABLE TB_EDPAR
FOR ALL ENTRIES IN TB_EDIDC
WHERE KUNNR = TB_EDIDC-SNDPRN.
SELECT KUNNR
ADRNR
FROM KNA1
INTO CORRESPONDING FIELDS
OF TABLE TB_KNA1
FOR ALL ENTRIES IN TB_EDPAR
WHERE KUNNR = TB_EDPAR-INPNR.
SELECT ADDRNUMBER
BUILDING
FROM ADRC
INTO CORRESPONDING FIELDS
OF TABLE TB_ADRC
FOR ALL ENTRIES IN TB_KNA1
WHERE ADDRNUMBER = TB_KNA1-ADRNR.
LOOP AT TB_EDIDC WHERE STATUS = P_STATUS
AND MESTYP IN S_MESTYP
AND DIRECT IN S_DIRECT
AND CREDAT IN S_CREDAT.
TB_ED-SNDPRN = TB_EDIDC-SNDPRN.
TB_ED-DOCNUM = TB_EDIDC-DOCNUM.
TB_ED-IDOCTP = TB_EDIDC-IDOCTP.
TB_ED-MESTYP = TB_EDIDC-MESTYP.
TB_ED-DIRECT = TB_EDIDC-DIRECT.
TB_ED-CREDAT = TB_EDIDC-CREDAT.
TB_ED-STATUS = TB_EDIDC-STATUS.
READ TABLE TB_EDPAR WITH KEY KUNNR = TB_EDIDC-SNDPRN.
READ TABLE TB_KNA1 WITH KEY KUNNR = TB_EDPAR-INPNR.
READ TABLE TB_ADRC WITH KEY ADDRNUMBER = TB_KNA1-ADRNR.
TB_ED-LOC = TB_ADRC-BUILDING.
APPEND TB_ED.
ENDLOOP.
WRITE :/02 'CustomerNo',
15 'Location Code',
30 'Idoc Number',
55 'Basic Type',
70 'Message Type',
95 'Direction',
110 'Received Date',
130 'Status'.
ULINE.
LOOP AT TB_ED.
WRITE :/02 TB_ED-SNDPRN,
15 TB_ED-LOC,
30 TB_ED-DOCNUM,
55 TB_ED-IDOCTP,
70 TB_ED-MESTYP,
95 TB_ED-DIRECT,
110 TB_ED-CREDAT,
130 TB_ED-STATUS.
ENDLOOP.
ENDFORM. " data
Kindly help me in solving the issue.
Thanks in advance.
Suki.Hi,
Check in transaction SCOT. If your mail is in error status in SCOT, you can assure that there is no problem with your code. If your message has not reached till SCOT, then the problem will be with the code.
If the mail is there in scot with error status tell the BASIS to configure it. I feel this could be the problem.
Regards,
Renjith Michael. -
From time to time I like to inform about 40 people that I have updated my iWeb site. To do this, I have assembled a 'group' of addresses and I send the update information to them.
It does not appear to be possible to do this using Apple Mail. I have tried breaking the group down into small bite sizes but poor old Mail just can't hack it. It is not up to the job using an internet connection in Australia or in Canada.
Creating such a group using Gmail Mailplane) does not seem to be possible. Indeed that is a distinct deficiency with an otherwise splendid facility.
I am always obliged to fall back on my dusty old copy of Entourage which does the job flawlessly. Unfortunately, Entourage does not send the sexy update message so handily supplied by iWeb.
I have just gone through this again today. Mail did not hack it. It first tried to use the Gmail SMTP server and then the old Dotmac one and finally my ISP provider's outgoing mail server. None of thse worked. Error messages about time outs on Port 25 arrived.
It would be nice to have the various Apple products working together seamlessly but, in my hands, this is not the case.
I am using the latest version of all software.
Any suggestions will be gratefully received and acknowledged.
David AmiesThank you for your time.
Once one has updated iWeb a three pronged invitation appears on the screen. One of these invites you to 'announce' your changes. If you click on that, Apple Mail fires up with a pre-printed message and a nice little logo. It is up to you to insert any addresses to which you might care to send the notification of your up date.
Now, I have created a group of addressees in Address Book that I call Blog Group 1. I have arranged this group such that the addresses of members are concealed from other members. This you can do in Apple Mail preferences under 'composing.'
I then press the send button. Wheels spin and the machine whirrs and I receive a message that it can't be sent and that I should use another server. It supplies a list of possibilities. I try them all with the same lack of success. I no longer have the exact error message to hand and could only get it by sending my stuff out again and thereby unnecessarily bothering my correspondents.
After messing around with all of this, I use precisely the same group with Microsoft Entourage and hey presto! it works.
If I can send group emails with Entourage but not with Apple Mail then I hardly think that this can be an issue with my ISP. (I tried to phone tech support today to clarify the point but they are down!)
Why then not use Entourage and be done with it, I hear you cry? For reasons that I cannot explain, I try to avoid using Microsoft products unless there is no alternative. Apple purports to have nicely integrated software and so why not use that?
Do you now follow my problem? If you have any further insights, I shall be more than happy to hear them.
Once again, thank you for your time.
Cordially,
David Amies
Maybe you are looking for
-
Download trial version for mac
22 Hours and still no reply, seriously???? Hi, I am i can't seem to reply to the initial message. I tried the instructions below, but the download has been hanging for almost an hour and not progressing at all - so it seems to not be working...any o
-
Hp 4000n, WIN 7 HOME NETWORK PRINTER GOES OFFLINE ON REBOOT
I have 2 WIN7 desktops and 2 printers. One HP L4000n is attached locally to one computer and shared by the other computer on the home network. It is attached to a standard parallel printer port (via) a IEEE1284 controller card. The other printer i
-
I can't drag and drop tabs or bookmarks in Firefox. I do not have Torbutton either.
I know some people were having issues with certain add-ons like torbutton. I actually don't have any add-ons installed for Firefox. I have tried resetting Firefox, restarting it in safe mode, disabling all of my plugins, and reinstalling it all toget
-
Howto increase log recovery speed?
We created a copy of our production MaxDB (2,8 TB) to have a shadow database. When I apply the logs (via script) I find out, that the shadow database is not able to "keep up" with the number of logs produced in the production. I figured out so far th
-
Can Firefox be set to remember password with out the remember box poping up
I would like Firefox to remember passwords automatically,is there any way to do this