How to send emails to some mail ids in Pro*c program
Hi all,
I am using the pro*c code.I just need to send some messages through mail to some email id's.How can i achieve this?Can i get the source code for this?
Thanks in advance!!!
Ramya.
Salut Yacson, et un accueil chaleureux dans les forums!
Your question might get a better answer in one of the Server forums, like this one...
http://discussions.apple.com/forum.jspa?forumID=711
But might see these 3 for clues...
http://discussions.apple.com/thread.jspa?messageID=6847070
http://discussions.apple.com/thread.jspa?threadID=1430961
http://discussions.apple.com/thread.jspa?threadID=2165968&tstart=30
Similar Messages
-
How to send files to others mail id when executing the program
Hi all,
I am getting text file from application server and i am sending total text file data into my internal table.
I am checking this internal table data especially material number and customer number with data base tables mara and kna1.If the matnr and kunnr are existing in database successfully means then only i am creating the sales orders for that text file data.if any record out of 10 records is not success means i am not creating sales orders for total text file data.
My error log file as
file name,date time,total no of records,error record no,error description.
one more text file as
file name,date time,total no of records,succesful records , error records.
I am getting these all data into my one more internal table.
I am appending all data into my internal table.
so i want retrieve only last row of data from that internal table.pls guide me how to get last row from the internal table.
these text files i have to send to my user mail id directly when i am executing the program.
any one knows the any function modules to send that text files to perticular mails.pls send the FM's to me.
Regards,
lokesh.hi
good
go through this report,hope help you to solve your problem
report y_cr17_mail.
data method1 like sy-ucomm.
data g_user like soudnamei1.
data g_user_data like soudatai1.
data g_owner like soud-usrnam.
data g_receipients like soos1 occurs 0 with header line.
data g_document like sood4 .
data g_header like sood2.
data g_folmam like sofm2.
data g_objcnt like soli occurs 0 with header line.
data g_objhead like soli occurs 0 with header line.
data g_objpara like selc occurs 0 with header line.
data g_objparb like soop1 occurs 0 with header line.
data g_attachments like sood5 occurs 0 with header line.
data g_references like soxrl occurs 0 with header line.
data g_authority like sofa-usracc.
data g_ref_document like sood4.
data g_new_parent like soodk.
data: begin of g_files occurs 10 ,
text(4096) type c,
end of g_files.
data : fold_number(12) type c,
fold_yr(2) type c,
fold_type(3) type c.
parameters ws_file(4096) type c default 'c:\debugger.txt'.
Can me any file fromyour pc ....either xls or word or ppt etc ...
g_user-sapname = sy-uname.
call function 'SO_USER_READ_API1'
exporting
user = g_user
PREPARE_FOR_FOLDER_ACCESS = ' '
importing
user_data = g_user_data
EXCEPTIONS
USER_NOT_EXIST = 1
PARAMETER_ERROR = 2
X_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.
fold_type = g_user_data-outboxfol+0(3).
fold_yr = g_user_data-outboxfol+3(2).
fold_number = g_user_data-outboxfol+5(12).
clear g_files.
refresh : g_objcnt,
g_objhead,
g_objpara,
g_objparb,
g_receipients,
g_attachments,
g_references,
g_files.
method1 = 'SAVE'.
g_document-foltp = fold_type.
g_document-folyr = fold_yr.
g_document-folno = fold_number.
g_document-objtp = g_user_data-object_typ.
*g_document-OBJYR = '27'.
*g_document-OBJNO = '000000002365'.
*g_document-OBJNAM = 'MESSAGE'.
g_document-objdes = 'sap-img.com testing by program'.
g_document-folrg = 'O'.
*g_document-okcode = 'CHNG'.
g_document-objlen = '0'.
g_document-file_ext = 'TXT'.
g_header-objdes = 'sap-img.com testing by program'.
g_header-file_ext = 'TXT'.
call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
exporting
method = method1
office_user = sy-uname
ref_document = g_ref_document
new_parent = g_new_parent
importing
authority = g_authority
tables
objcont = g_objcnt
objhead = g_objhead
objpara = g_objpara
objparb = g_objparb
recipients = g_receipients
attachments = g_attachments
references = g_references
files = g_files
changing
document = g_document
header_data = g_header
FOLMEM_DATA =
RECEIVE_DATA =
File from the pc to send...
method1 = 'ATTCREATEFROMPC'.
g_files-text = ws_file.
append g_files.
call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
exporting
method = method1
office_user = g_owner
ref_document = g_ref_document
new_parent = g_new_parent
importing
authority = g_authority
tables
objcont = g_objcnt
objhead = g_objhead
objpara = g_objpara
objparb = g_objparb
recipients = g_receipients
attachments = g_attachments
references = g_references
files = g_files
changing
document = g_document
header_data = g_header
method1 = 'SEND'.
g_receipients-recnam = 'MK085'.
g_receipients-recesc = 'B'.
g_receipients-sndex = 'X'.
append g_receipients.
call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
exporting
method = method1
office_user = g_owner
ref_document = g_ref_document
new_parent = g_new_parent
importing
authority = g_authority
tables
objcont = g_objcnt
objhead = g_objhead
objpara = g_objpara
objparb = g_objparb
recipients = g_receipients
attachments = g_attachments
references = g_references
files = g_files
changing
document = g_document
header_data = g_header.
*-- End of Program
thanks
mrutyun^ -
How to send email settings from g5 to mac pro
I would like to transfer my email and internet settings from my g5 to a Mac pro without losing my previous info, please could someone tell me the easiest way to do this?
This illustrated article show its location:
http://www.ifixit.com/Teardown/Mac+Pro+Late+2013+Teardown/20778
look at steps 7, 8, 9, 10. It is a similar liitle board to the older Mac Pro models, hidden near the fan. -
How can I request a return receipt when sending email from Leopard Mail?
Has anyone found a way to request return receipts when sending email with Leopard Mail?
see this [link|http://discussions.apple.com/thread.jspa?messageID=7244096�].
However,
this is only possible if the email client of the e-mail receiver supports this feature and it is turned on. if it doesn't support it or it supports it but the feature is turned off there is absolutely nothing you can do. -
How to send email notification in different languages in Workflow ?? Urgent Help Needed
Gurus,
How to send email notification in different languages in Workflow? Can anyone send me some useful guidelines or link where it is mentioned.There is no profile option available to specify whether send or not send email notification.
But after login, in preferences youcan set the notification preference value by which you can configure whether to send or not
to send email notifications.
If you select ''Do not send me mail' or 'Disabled' it will not send.
For other values it sends the notfication in different formats like text, html, attachments etc...
Edited by: sarojak on Jun 27, 2011 7:18 AM -
[SOLVED]How to send email to a local user?
I have installed Mutt, msmtp, procmail and I can send and receive emails to/from remote hosts and I'd like to send email locally also (to the recipients on the same machine as the sender).
When I try to send email to a local user from the root account -
echo "Test message" | mail -s "Test subject" localuser
then I get an error that connection to the port 25 is refused. Because the /etc/msmtprc file contains the 'localhost' as the default account's host, and on the local host I don't have a mail server listening on 25 port running.
When I try to send email from a non-root account which has in /$HOME/.msmtprc file a real email account on a remote server, then of course there is an error that the domain for the email address 'localuser' is not recognized.
How can sending email to local users be enabled?
Last edited by nbd (2014-09-30 22:33:37)If I understand correctly, postfix it's a constantly running daemon. Seems to be an overhead for delivering only from time to time sent messages.
ewaller wrote:
> Out of the box, sendmail should be safe, but I think you have to enable local mail.
Currently I have msmtp-mta installed, which is described as having sendmail functionality. If I install sendmail - will it be possible to send local email without running email daemons? -
Problem sending emails with Mac Mail 1.3.11
Desperately in need of help. I'm able to receive but not send email using Mac Mail. I keep getting an error message:
"This message could not be delivered and will remain in your Outbox until it can be delivered.
The sender address [email protected] was rejected by the server"
I have already tried the following at the advice of AppleCare reps:-
Have verified & repaired disk utilities & keychains
Have reinstalled the operating system
Have trashed the mail.plist file
Have trashed the outbox.mbox file
Getting quite frustrated now because we have a mac bookpro with identical mail settings and it is able to send and receive mail without any problems.Could it be the version of Mail I'm running ?
I initially thought that the problem related to having switched to a new ISP but the fact that one of the mac's has no problem has led me to be less convinced of that idea.
Any suggestions gratefully accepted.
Many thanksI am having the same problem exactly. I can read e-mail, but get the same error message trying to send it. I can't use .Mac anymore--have to use alternate e-mail for the last month--since some time in October 2006.
I haven't changed anything on my G4, haven't upgraded anything, and the problem started about the time .Mac reported some customers were unable to use Mail for a couple of days in October.
I see nobody answered your post. Did you ever get your mail to work? I have repaired permissions, but I don't think it has anything to do with that.
Thanks,
iMama
G4 Quicksilver 867Mhz 60GB Mac OS X (10.3.8) Maxtor 120GB internal; LaCie 150GB external HD -
Can't send email in Windows Mail
On May 12th I was unable to send emails under Windows mail. It would come back with an error message of "0X800CCC0F". In my account I'm using (POP3) incoming.yahoo.verizon.net and (SMTP) outgoing.yahoo.verizon.net.
My SMTP port is 25 and my POP3 port is 110. I receive emails but can't send any. If I go to Verizon's email site I can send myself emails and receive them. I don't like Verizon's setup so I've used Windows Mail with Vista and Outlook with Windows ME without any problems. I've tried changing port numbers and checking and unchecking SSl and SPA until I'm not quite sure where I was originally. Something must have changed 5 days ago but I not sure how to fix it. Any suggestions would be most gratefully received.Glad to know I'm not the only one. Around the same date I began having the same issues (right after Microsoft installed updates). I use Vista and have had this problem ONLY with Verizon ISP every month, at least once a month. This time, it hasn't stopped since the 12th.
Due to this, I finally gave up and ran the Verizon In Home Agent, which Norton suggested I do not do. I should have listened to Norton. The IHA lists that I have two Outlook email address, both of which are the same. I checked my Outlook and I only have one listed. BUT, since I used the IHA I now receive emails twice and can't send any at all unless I use Webmail. The IHA says there are no problems with my email, but I still can't send.
If you figure out the resolution to this, I'd love to know....and I will definitely try the link to Microsoft that someone already listed. I can't use the Windows Mail or Outlook to send. -
How to send image file through mail without any attachment
Plz tell me how to send image file through mail without any attachment ( i mean not converting that image into pdf or any format ) i want to send that text or image through mail .
Hi Sandeep,
I think you can setup the type of email in Shared office Settings in transaction S016.
There is an option called <Preset document classes>
You choose this pushbutton to branch to the maintenance screen for the document classes that are directly displayed to users in the Business Workplace for selection when they use the Create function. The name under which the documents are displayed can also be maintained.
http://help.sap.com/saphelp_nw70/helpdata/en/6c/69c30f418d11d1896e0000e8322d00/content.htm
Haven't tried it though.
Regards,
Siddhesh -
Sending email notifications to multiple IDs from lookup?
Is it possible to send email notifications to multiple ids by putting them in the decode column of a lookup separated by semicolon or nay other identifier?
OR is there any other way of sending email notfications to mutiple ids (not through Java mail) ?
Thanks,
AbhiTry this to fetch the emails ids from the Lookup.
Suppose you have got a string say x from Lookup using "Lookup Definition.Lookup Code Information.Decode"
String x = "[email protected];[email protected];[email protected]";
StringTokenizer AA = new StringTokenizer(x.trim(), ";");
while(AA.hasMoreTokens())
int i = 0;
while(i <= AA.countTokens())
String B= AA.nextToken();
AAList.add(B);
i++;
Now you have the list just make a for loop
sendMail.setSubject("SUBJECT");
sendMail.setBody("BODY";
sendMail.setFromAddress(from);
for (int i=0;i<emailList.size();i++){
String email = AAList.get(i).toString();
sendMail.sendEmail(email);
If you need any help, let me know. I think we have written the whole code here. :-) -
Problem with Thunderbird email:
When I send email using a mailing list, with my email included in the list, the message shows up in my Sent list and others receive it but it does not come to my email Inbox. The same problem occurs when I send the email to the mailing list addresses individually. When I send a simple test message to myself, I do receive it in my Inbox. Can you help me??
Bob GreenmanAre you using either cc or bcc? Is googlemail involved? Some email providers suppress cc's and bcc's to oneself since you will have a copy in your Sent folder.
-
How to send sapmails to external mail systems
Hi,
how to send sapmails to external mail systems....
like if we want to mail a purchase order from SAP System to *@yahaoo.com or @.com.
TY.hi manish,
u can do it.
chk this .
chk this code
DATA: objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
DATA: objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
DATA: objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
DATA: doc_chng LIKE sodocchgi1.
*& Form f_send_mail
text
--> p1 text
<-- p2 text
FORM f_send_mail .
*store the vendor name, vendor email id , employee name and employee
*email id in the internal table int_crb
Creation of the document to be sent
CLEAR doc_chng.
REFRESH objpack.
REFRESH objhead.
REFRESH reclist.
REFRESH objtxt.
File Name
doc_chng-obj_name = 'SHIPMENT'.
Mail Subject
CONCATENATE 'Shipment Document No.' int_crb_mail-shipdocnum
'Cleared.'
INTO doc_chng-obj_descr SEPARATED BY ' '.
Mail Contents
objtxt-line = 'Hi,'.
APPEND objtxt.
objtxt-line = ' '.
APPEND objtxt.
CONCATENATE 'Shipment Document Number ' int_crb_mail-shipdocnum
' cleared for move.' INTO objtxt-line SEPARATED BY ' '.
APPEND objtxt.
objtxt-line = ' '.
APPEND objtxt.
CLEAR objtxt.
objtxt-line = 'Regards '.
APPEND objtxt.
objtxt-line = ' '.
APPEND objtxt.
objtxt-line = 'SAP '.
APPEND objtxt.
CLEAR objtxt.
APPEND objtxt.
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN(
objtxt ).
Creation of the entry for the compressed document
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'RAW'.
APPEND objpack.
Completing the recipient list
target recipent
CLEAR reclist.
reclist-receiver = int_crb_mail-empperid. "employee email ID
"wf_empperid.
reclist-express = 'X'.
reclist-rec_type = 'U'.
APPEND reclist.
copy recipents
CLEAR reclist.
reclist-receiver = int_crb_mail-smtp_addr."vendor email id
reclist-express = 'X'.
reclist-rec_type = 'U'.
reclist-copy = 'X'.
APPEND reclist.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc_chng
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
COMMIT WORK.
SUBMIT rsconn01
WITH mode = 'INT'
WITH output = ' '
AND RETURN.
ENDFORM. " f_send_mail
for any clarifiaction pls mail me.
pls reward points, if this helped u.
regards,
anversha.
[email protected] -
I am unable to receive or send emails, have apple mail version 4.6 (1085) and snow leopard, OSX 10.6.8, MacBook Incoming mail server “mail.me.com” is greyed out How do I resolve this problem? All help appreciated [email protected]
Try these server settings.
Mail Server Information -
TS3276 sending emails from mac mail?
not possible to send email from mac mail since hotmail changed to outlook?
The logo is an attachment. Anything in an email message that is not text must be sent as an attachment in order to be compliant with email protocols. But many modern email programs will automatically display the contents of some attachments. Apple Mail will display JPEGs and single-page PDFs. Presumably your correspondents are using an application that displays JPEGs but not PDFs.
Some email programs expect attachments to come at the end of the message, not intermixed with the other contents of the message. Such an app may treat everything after the first attachment as attachments. That might cause the different behavior when additional attachments are included before the attachment in your signature. -
Can't send email through Apple mail
I suddenly am not able to send email through Apple mail on my MacBookPro. ipad and iphone still working. I can also send email through att online. My email is @att.net, and the message says "The server cannot be contacted on port 465". (That is the proper port)
Hi,
Here are some suggestions,
1. Try downloading another free email client to see if it works from there, just to eliminate other possibilities.
2. Try removing the account in mail settings, and adding it again with the correct settings.
Let me know what you find!
Nolan
Maybe you are looking for
-
Is it possible to install Mountain Lion on a Macbook Pro 2,1
I've heard it's possible to install Mountain Lion on several unsupported Mac models, but i was wondering if it's possible for the MacBook Pro 2,1 late 2006 model? Here's the link for the unsupported model http://www.karthikk.net/2012/02/15-steps-to-i
-
Driver re-import reports partial success, but package is empty
Hi... I found this article on the 2007 forum but I'm not sure it applies to me with 2012. (http://social.technet.microsoft.com/Forums/systemcenter/en-US/c9fcff89-421b-4ec3-88eb-78fb52854356/can-not-reimport-drivers-or-add-to-driver-package) A previou
-
Security in ODI-specific access to projects and folders
Is there anyway to give project or folder-specific access within ODI? Some users want to be able to run jobs-but I dont want them to see other projects within ODI. Thanks.
-
Oracle 10gR2 installation on Redhat 5 hangs on 12%
Dear experts I'm installing a 2 node Oracle 10gR2 on Redhat 5. Everything is ok when installing Oracle Clusterware and it works fine with all the services up and running. But when I start installing the Oracle Database, OUI hangs on 12%. I found coup
-
Older Verions of Apple's RAW Processing?
I cannot edit files in one of my projects. All of the Adjustment options are dimmed and in place of the histogram it says either "Image Offline" or "Image Not Found." I tried updating with the master but it couldn't find the master. It also says, in