Creation of instance of SELFITEM BO in send email task
Hello,
I would like to find out how the system creates the instance of the SELFITEM object.
For example in SendTaskDescription method there is the workitem id fetched from variable object-key-workitemid, but I was not able to find out where the source of the value is.
There is no related binding into the method/task, no explicit creation of object SELFITEM, but it works :). Are there any related hardcoded "miracles" in SAP standard or am I missing some points?
Thank you very much,
JJ
Hi Ennrique,
thank you for your answer, but it is not the answer for my question. There is NO binding into the email task which fills WIOBJECT_ID, but in the task method there is the code which is instance specific. So where is the instance created?
KR,
JJ
Similar Messages
-
How to avoid repeated emails using send email tasks in package?
Hi,
I have package with two sqeuence containers which are not connected.So when I was using send email tasks I was getting repeated emails like 5 to 6 emails.So, can someone hep me on this.How can we avoid repeated emails.
Regards,
Sudha
sudhaSee this example on preventing executing a task within an Event Handler:
http://microsoft-ssis.blogspot.com/2014/07/prevent-events-executing-multiple-times.html
Please mark the post as answered if it answers your question | My SSIS Blog:
http://microsoft-ssis.blogspot.com |
Twitter -
Full Result set - Send Email Task
Hi Friends,
Please find below, my sample data and create table script
Declare @Current_hour_test table
Clinical_Document_ID INT IDENTITY(1,1) NOT NULL,
Patient_First_Name varchar(20) NULL,
Patient_Last_Name varchar(20) NULL,
Patient_DOB date NULL,
Submit_Date datetime NULL,
Facility varchar(100) NULL
Insert into @Current_hour_test
Select 'Test','Test','01-01-88',getdate(),'Inpatient' UNION ALL
Select 'Test','Test','01-01-88','01/15/14','Inpatient' UNION ALL
Select 'Test','Test','01-01-88',getdate(),'Inpatient' UNION ALL
Select 'Test','Test','01-01-88',getdate(),'Inpatient' UNION ALL
Select 'Test','Test','01-01-88','02/20/14','Hospital' UNION ALL
Select 'Test','Test','01-01-88',getdate(),'Inpatient' UNION ALL
Select 'Test','Test','01-01-88',getdate(),'Inpatient' UNION ALL
Select 'Test','Test','01-01-88',getdate(),'outpatient'
Select 'www.google.com/page=' + convert(varchar,Clinical_Document_ID) LinkTest from @current_hour_test
where
clinical_document_ID IN (Select Clinical_Document_ID from @current_hour_test
where submit_date between dateadd(hour,-1,getdate()) and getdate())
Thus the gotten result set, I should send in a email by using send email task. Where I'm stuck is, the result is not a single row. How to send the total result set as email is my question
and also is there any way I can hyperlink the result such that the result can be clickable?
- please mark correct answersHyperlink you can, otherwise options are as an attached file, or if not too many lines in the body of the email e.g. a table.
To have a hyperlink generated (HTML) see http://geekswithblogs.net/LifeLongTechie/archive/2011/02/02/using-ssis-to-send-a-html-e-mail-message-with-built-in.aspx just replace the code from table to a hyperlink, or you can use it for the table.
Arthur My Blog -
SSIS 2008 R2 - Send email task with error in body message?
Hi there, I'm newbie to SSIS.
In Control Flow, I've Execute SQL task -> Data Flow Task (wirh some CSV export from SQL task)-> Send email on failure as shown in below screenshot. How can I get FOR ANY error message in
Email Body inside "Send Mail Task- Failure" in case of failure?
I found few articles on the internet but I'm newbie to SSIS and I need some step-by-setp guildeline to do this. Any idea? Many Thanks.Hi KM IT,
You can enable logging for the package, and redirect the error message to a text file, and then display the content of the text file in the email message body.
When configuring the logging, you can enable the logging for the entire package or each Control Flow Task. For the step-by-step guidance, please see:
http://learnsqlwithbru.com/2009/11/26/configure-logging-in-ssis-packages/
Then, in the Send Mail Task, you can configure the "MessageSourceType" property to “File Connection”, and select the log file. Of course, you can attach the log file as an attachment of the email.
If you have any questions, please feel free to ask.
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support -
Hi,
I used the SSIS send mail task ran it in BIDS and it worked fine!!!!, deployed it to SAP BPC but it did not like it.
I am now trying to use the SAP BPC send mail task but don't know what properties to fill in. Have searched the internet but the explanation is too brief.
Is there a book/manual/something that gives a detailed explanation of this task.
Have looked for an example but just can't find one.
If anyone has an example Please please let me know.
ThanksYou need to setup the appset parameters in BPC Administration under the Set AppSet Parameters option for the following:
SMTPAUTH
SMTPPASSWORD
SMTPPORT
SMTPSERVER
SMTPUSER
for the valid email server setting in your environment.
Then to see the properties of the SendMail task, once added to a DataManager package thru Organize package list you can select the Package, Modify it, select the SendMail task from the Task list and see the Properties of that task OR in VisualStudio select the SendMail task and view it's Properties. Typically you need to pass the %USER% to the SendMail's MailUser property, but there are other properties available to set.
ALSO, the BPC User id submitting the package (%USER%) needs to have an email address defined.
If you're using 5.1 sp3, I have discovered a bug with the SendMail task that generates an error, have entered a separate post and requested SAP ticket be entered documenting the issue. -
Script task to convert output from a sql query into send mail task body formatting
SSIS 2008R2 Version
Code from script task
Microsoft SQL Server Integration Services Script Task
Write scripts using Microsoft Visual C# 2008.
The ScriptMain is the entry point class of the script.
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
namespace ST_29dd6843bd6c4aee9b1656c1bbf55ba8.csproj
[System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
#region VSTA generated code
enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
#endregion
public void Main()
Variables varCollection = null;
string header = string.Empty;
string message = string.Empty;
Dts.VariableDispenser.LockForWrite("User::gsEmailMessage");
Dts.VariableDispenser.LockForWrite("User::gsWebserviceName");
Dts.VariableDispenser.LockForWrite("User::gsNoOfCallsInADay");
Dts.VariableDispenser.LockForWrite("User::gsCalledBySystem");
Dts.VariableDispenser.GetVariables(ref varCollection);
//Set the header message for the query result
if (varCollection["User::gsEmailMessage"].Value == string.Empty)
header = "Hi, Count is greater then 50 :\n\n";
//header = "Execute SQL task output sent using Send Email Task in SSIS:\n\n\n";
header += "----------------------------------------------------------------------------------------------------------------------" + "\n";
header += string.Format("{0}\t\t\t\t{1}\t\t{2}\n", "WebService Name", "No Of Calls In A Day", "Called By System");
header += "----------------------------------------------------------------------------------------------------------------------" + "\n";
varCollection["User::gsEmailMessage"].Value = header;
//Format the query result with tab delimiters
message = String.Format("<HTML><BODY><P>{0}</P><P>{1}</P><P>{2}</P></BODY></HTML>",
varCollection["User::gsWebserviceName"].Value,
varCollection["User::gsNoOfCallsInADay"].Value,
varCollection["User::gsCalledBySystem"].Value);
varCollection["User::gsEmailMessage"].Value = varCollection["User::gsEmailMessage"].Value + message + "\n";
Dts.TaskResult = (int)ScriptResults.Success;
Above code will return data in below format and then i send this output in aemail using send mail task.
Hi, count is greater then 50 :
WebService Name
No Of Calls In A Day Called By System
WebServiceone 1
Internetbutiken
WebServiceGetdetailstwo 1
Internetbutiken
Servicenamethree 2
MOB
As you can see above code is not in align as if we service name is shorter then 2nd column get disallign and its not look good.I need output should be like below.
Hi, count is greater then 50 :
WebService Name
No Of Calls In A Day Called By System
WebServiceone 1
Internetbutiken
WebServiceGetdetailstwo 1
Internetbutiken
Servicenamethree 2
MOB
Please suggest something...
Thanks
SR_MCTSSee code explained here
http://microsoft-ssis.blogspot.in/2013/08/sending-mail-within-ssis-part-2-script.html
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
This will not help.As I am not creating smtp connectin ,send from ,send to in script task.I am just creating email body from sql output. -
Send email to upon creation of service request
Hello Experts,
I have a requirement wherein upon creation of a service request in Interaction Center, an email must
be sent automatically to the responsible employee. In the functional specs it says that I need to create
a mail form and this will be called using action profile. When I tested it the action definition goes into an error.
From what I understand, we cannot call mail forms using processing type 'SMARTFORMS MAIL'. So my questions are listed below:
1. If I stick with mail forms creation, how can I get the needed data example from the business object, etc.
2. Are there any other way to do my requirement? Maybe mail forms is not needed and some configs just needs to be maintained.
Thank you guys and have a nice day!Hi Viraylab,
If you stick with send email with smartform then the config of action profile should be :
object type name = BUS2000223
context class = CL_CRM_SRQM_CONTEXT_PPF
Create your own Action Definition, in the Processing Types of Action choose Smart Forms Mail
Form Name = your form name
Processing Class = CL_DOC_PROCESSING_CRM_ORDER
Processing Method = CRM_ORDER_EXEC_SMART_FORM
Hope it's help,
Lina -
Send email notification to user upon user creation
Hi,
Application : 12.1.1
DB:11.1.0.7
how to send email notification to user upon user creation in Oracle EBS r12
Thanks
Edited by: 843272 on Jun 19, 2011 5:32 AMYou can create an alert for this requirement from 'Alert Manager' responsiblity.
-
Batch job creation for sending email if the invoice is aged
Positive confirmation: Send system notification to the requestor if:
a) An invoice is received and GR is not yet posted in the ECC system.
b) An 'aged' invoice and GR is not yet posted in the ECC system.
This requirement is for USA only. i.e., we have only one company code which is 8960.
Identifiers of the invoice are
Company Code = u20188960u2019
Invoice Document Type = u2018R9u2019
Use table EKBE for relationship between Invoice, Goods Receipt and Purchase Order.
The field EKPO-BEDNR contains the Shopping Cart Number
Implementation Strategy
1. To send email if the invoice is aged.
Create a program that will run as a job. This job will frequently check for invoices related to SRM Shopping Carts received from E2OPEN. If an invoice is aged and there is no Goods Receipt posted through confirmation from SRM, then an email will go out from ECC system to the requestor. Using the Shopping Cart number on PO, find the requestor information (email ID) from SRM through an RFC call. This job will run once in a day and should have a parameter in the program for the age of the Invoice.
Both the emails should contain a link (To be taken from SRM system, to be supplied) to log into SRM system. The email will also contain the Shopping Cart number and the Description of the item, and a message to Confirm this, including age of the invoice if aged.
Please let me know how to create the batch job.
Regards,
Venkat
Edited by: VenkatG on Sep 1, 2009 3:14 PMDo not pass the COMMIT_WORK flag... Leave it blank. Any transaction for the data integrity, one should never use COMMIT WORK related statements. Normally SAP transactions will have the COMMIT WORK at the end of transaction which is enough for any thing that is added part of the customer exits...
Hope this helps.
Regards
Anjaiah -
Send email for new customer creation
Can I send email to someone when the new customer has been create through XD01. Is there any userexit to do that. thanks!
Receiving E-Mail and processing it with ABAP - Version 610 and Higher
OR
REPORT zsendemail .
PARAMETERS: psubject(40) type c default 'Hello',
p_email(40) type c default 'write mail id' .
data: it_packing_list like sopcklsti1 occurs 0 with header line,
it_contents like solisti1 occurs 0 with header line,
it_receivers like somlreci1 occurs 0 with header line,
it_attachment like solisti1 occurs 0 with header line,
gd_cnt type i,
gd_sent_all(1) type c,
gd_doc_data like sodocchgi1,
gd_error type sy-subrc.
data: it_message type standard table of SOLISTI1 initial size 0
with header line.
*START-OF-SELECTION.
START-OF-SELECTION.
Perform populate_message_table.
*Send email message, although is not sent from SAP until mail send
*program has been executed(rsconn01)
PERFORM send_email_message.
*Instructs mail send program for SAPCONNECT to send email(rsconn01)
perform initiate_mail_execute_program.
*& Form POPULATE_MESSAGE_TABLE
Adds text to email text table
form populate_message_table.
Append 'Email line 1' to it_message.
Append 'Email line 2' to it_message.
Append 'Email line 3' to it_message.
Append 'Email line 4' to it_message.
endform. " POPULATE_MESSAGE_TABLE
*& Form SEND_EMAIL_MESSAGE
Send email message
form send_email_message.
Fill the document data.
gd_doc_data-doc_size = 1.
Populate the subject/generic message attributes
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SAPRPT'.
gd_doc_data-obj_descr = psubject.
gd_doc_data-sensitivty = 'F'.
Describe the body of the message
clear it_packing_list.
refresh it_packing_list.
it_packing_list-transf_bin = space.
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
describe table it_message lines it_packing_list-body_num.
it_packing_list-doc_type = 'RAW'.
append it_packing_list.
Add the recipients email address
clear it_receivers.
refresh it_receivers.
it_receivers-receiver = p_email.
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = 'X'.
it_receivers-notif_ndel = 'X'.
append it_receivers.
Call the FM to post the message to SAPMAIL
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = gd_doc_data
put_in_outbox = 'X'
importing
sent_to_all = gd_sent_all
tables
packing_list = it_packing_list
contents_txt = it_message
receivers = it_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.
Store function module return code
gd_error = sy-subrc.
Get it_receivers return code
loop at it_receivers.
endloop.
endform. " SEND_EMAIL_MESSAGE
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
form initiate_mail_execute_program.
wait up to 2 seconds.
if gd_error eq 0.
submit rsconn01 with mode = 'INT'
with output = 'X'
and return.
endif.
endform. -
APEX SEND EMAIL FUNCTION NOT SENDING EMAIL
Hi All,
For some reason that I can't figure out is not send any email... Could yo please help me to find it?
DECLARE
CreationDate date;
ClosureDate date;
IncidentsQty NUMBER;
Tool varchar(100);
BEGIN
SELECT COUNT(STUCK_RELATED_TO_PROBLEM) into IncidentsQty
FROM INCIDENTS
WHERE STUCK_RELATED_TO_PROBLEM = :P57_INCIDENT_ID;
SELECT IDATE INTO CreationDate
FROM PROBLEMS
WHERE ID = :P57_INCIDENT_ID;
SELECT CDATE INTO ClosureDate
FROM PROBLEMS
WHERE ID = :P57_INCIDENT_ID;
SELECT TOOL INTO Tool
FROM PROBLEMS
WHERE ID = :P57_INCIDENT_ID;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
APEX_MAIL.send(
p_to => '[email protected]',
p_from => :app_user,
p_body => 'SERVICE DESK NOTIFICATIONS: NEW UPDATE HAS BEEN REPORTED INTO AN PROBLEM',
p_body_html => '<p>The details of the problem closed are the following: <br>
<p>Creation date: ' || CreationDate || ' <br>
Closure date: '|| ClosureDate ||'<br>
Incidents Qty: '|| IncidentsQty ||'<br>
Observations: '|| :P57_IUPDATE ||'</p><br>
p_SUBJ => 'The problem for the tool ' || TOOL || ' (ID# '|| :P57_INCIDENT_ID ||') has been closed.',
p_cc => '',
p_bcc => NULL ,
p_replyto => NULL
END;Hello Bernardo,
>
For some reason that I can't figure out is not send any email... Could yo please help me to find it?
>
Please do provide necessary information so the picture about your problem is clear for the forum members.
The blog post by one of the eminent person working with Oracle Technologies @Tom Kyte might help:
http://tkyte.blogspot.in/2005/06/how-to-ask-questions.html
Now coming to your posted procedure snippet:
APEX_MAIL.send (
p_to => '[email protected]',
p_from => :app_user,
p_body => 'SERVICE DESK NOTIFICATIONS: NEW UPDATE HAS BEEN REPORTED INTO AN PROBLEM',
p_body_html => '<p>The details of the problem closed are the following: <br>
<p>Creation date: ' || CreationDate || ' <br>
Closure date: '|| ClosureDate ||'<br>
Incidents Qty: '|| IncidentsQty ||'<br>
Observations: '|| :P57_IUPDATE ||'</p><br>',
p_SUBJ => 'The problem for the tool ' || TOOL || ' (ID# '|| :P57_INCIDENT_ID ||') has been closed.',
p_cc => '',
p_bcc => NULL ,
p_replyto => NULL
);As you have not given APEX Version information I will go with APEX Version Application Express 4.2.0.00.27.
I would recommend you to go through the documentation of [url http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_mail.htm#CIHDIEJI]APEX_MAIL to help you debug the problem.
This is what i want you to check with your email configuration:
<ul>
<li>Have you configured the email settings on the Instance Settings page.
Refer: http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35129/adm_mg_service_set.htm#BEJBCEEH</li>
<li>Have you checked the configuration works fine? You can use the examples given in the documentation of APEX_MAIL.SEND Procedure.
Refer: http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_mail.htm#CHDDAAJE
Note: User SQL Commands from your APEX Workspace for this purpose.
Also after sending email check for the error in APEX_MAIL_QUEUE or APEX_MAIL_LOG using query:
-- Check whether the mail has been queued
SELECT *
FROM APEX_MAIL_QUEUE;
-- Push the mail for delivery
BEGIN
APEX_MAIL.PUSH_QUEUE;
END;
-- Check whether the mail has been delivered without any error
-- check for MAIL_SEND_ERROR column
SELECT *
FROM APEX_MAIL_LOG;</li>
<li>Are you using Oracle Database Release 11.1 or higher version ? If yes then you have to configure network services to enable the host to send email. Refer: http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/sec_admin_ssl.htm#HTMDB12006</li>
<li>Are you invoking the APEX_MAIL procedures through a database package? If yes then you have to set the SECURITY_GROUP_ID.
Refer the starting of APEX_MAIL documentation.
Use the following code before invoking APEX_MAIL procedures:
p_app_id should be the Application Number of your APEX application.
for c1 in (
select workspace_id
from apex_applications
where application_id = p_app_id )
loop
apex_util.set_security_group_id(p_security_group_id =>
c1.workspace_id);
end loop;</li>
</ul>
This is what i find doubting about the code snippet:
<ul>
<li>Is APP_USER passing valid email ID?</li>
<li>Note the usage of utl_tcp.crlf in the APEX_MAIL.SEND procedure examples in the documentation.</li>
<li>Why have you passed empty string to the parameter p_cc ? Note that empty string is not equal to NULL.</li>
<li>Instead of passing data directly to the parameters you can use variables, assign data to variables and pass variables instead.</li>
</ul>
In order to get accurate/appropriate response you should include at least following information with your question:
<ul>
<li>Full APEX version</li>
<li>Full Database version</li>
<li>APEX Web server architecture (EPG, OHS or APEX listener)</li>
<li>Browser(s) and version(s) used</li>
<li>Operating system with version, architecture(32/64)</li>
</ul>
The above information will help the forum members to ascertain the problem context and post most relevant response.
Please read the [url https://wikis.oracle.com/display/Forums/Forums+FAQ]FAQ and [url https://forums.oracle.com/forums/ann.jspa?annID=1324]forum instructions for more information on using OTN forums effectively.
Please perform a [url https://forums.oracle.com/forums/search!default.jspa]forum search before posting a question as this will help reduce duplicate threads.
Please mark the reply as helpful or correct as this will help other members on the forum with similar question.
Hope it helps!
Regards,
Kiran -
Send email from j2me through servlet
Hi people,
i hope you can help me because i am new in network programming.
I am trying to send email from j2me to googlemail account I have 2 classes EmailMidlet (which has been tested with wireless Toolkit 2.5.2 and it works) and the second class is the servlet-class named EmailServlet:
when i call the EmailServlet, i get on the console:
Server: 220 mx.google.com ESMTP g28sm19313024fkg.21
Server: 250 mx.google.com at your service
this is the code of my EmailServlet
import java.io.*;
import java.net.Socket;
import java.net.UnknownHostException;
import java.text.*;
import java.util.Date;
import javax.servlet.*;
import javax.servlet.http.*;
public class EmailServlet extends HttpServlet {
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
System.out.println("____emailservlet.doPost");
response.setContentType("text/plain");
PrintWriter out = response.getWriter();
System.out.println("______________________________");
out.println();
String to = request.getParameter("to");
System.out.println("____________________________to" + to);
String subject = request.getParameter("subject");
String msg = request.getParameter("msg");
// construct an instance of EmailSender
System.out.println("servlet_to" + to);
send("[email protected]", to, subject, msg);
out.println("mail sent....");
public void send(String from, String to, String subject, String msg) {
Socket smtpSocket = null;
DataOutputStream os = null;
DataInputStream is = null;
try {
smtpSocket = new Socket("smtp.googlemail.com", 25);
os = new DataOutputStream(smtpSocket.getOutputStream());
is = new DataInputStream(smtpSocket.getInputStream());
} catch (UnknownHostException e) {
System.err.println("Don't know about host: hostname");
} catch (IOException e) {
System.err
.println("Couldn't get I/O for the connection to: hostname");
if (smtpSocket != null && os != null && is != null) {
try {
os.writeBytes("HELO there" + "\r\n");
os.writeBytes("MAIL FROM: " + from + "\r\n");
os.writeBytes("RCPT TO: " + to + "\r\n");
os.writeBytes("DATA\r\n");
os.writeBytes("Date: " + new Date() + "\r\n"); // stamp the msg
// with date
os.writeBytes("From: " + from + "\r\n");
os.writeBytes("To: " + to + "\r\n");
os.writeBytes("Subject: " + subject + "\r\n");
os.writeBytes(msg + "\r\n"); // message body
os.writeBytes(".\r\n");
os.writeBytes("QUIT\r\n");
// debugging
String responseLine;
while ((responseLine = is.readLine()) != null) {
System.out.println("Server: " + responseLine);
if (responseLine.indexOf("delivery") != -1) {
break;
os.close();
is.close();
smtpSocket.close();
} catch (UnknownHostException e) {
System.err.println("Trying to connect to unknown host: " + e);
} catch (IOException e) {
System.err.println("IOException: " + e);
} 1.when i print "to" in EmailServlet also:
String to = request.getParameter("to");
System.out.println("____________________________to" + to); it show null on the console :confused:
2. ist this right in case of googlemail.com?
smtpSocket = new Socket("smtp.googlemail.com", 25); I would be very grateful if somebody can help me.jackofall
Please don't post in old threads that are long dead. When you have a question, please start a topic of your own. Feel free to provide a link to an old thread if relevant.
I'm locking this thread now.
db -
Send email from SAP with more than one attachment
Hi all,
How can i send email with more than one attachment and different types of document(doc,pdf,etc.) from SAP to external?
Besr regards,
MunurHi,
I use :
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
the main problem with different attachemts is to genereate the packing_list.
the packing list is a kind of description of the data table... where ist the start of an image, end, size...
"Creation of the entry for the compressed attachment
objpack-transf_bin = 'X'. " it could be an image
objpack-head_num = lv_head_num_count . " inital 1 each att add 1
objpack-head_start = 1. " fix
objpack-body_start = gv_startnum. " table with attachments 1. line one
objpack-body_num = tab_lines. " how many lines are in the table of attachment
objpack-doc_size = tab_lines * 255. " size of the attachment...
objpack-doc_type = lv_typ . " 'JPG'.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = lv_stripped_name " name of the JPG
APPEND objpack.
APPEND LINES OF lt_goscontent TO gt_maildata. " data Table...
bestreg
robert -
Cannot send email to subdomain
iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)
libimta.so 5.2 Patch 2 (built 19:30:12, Jul 14 2004)
SunOS stud.usm.my 5.9 Generic_117171-17 sun4u sparc SUNW,Sun-Fire-V240
We have a domain xxx.com and a subdomain stud.xxx.com...the first domain is for our staff and the second one is for our students...the problem we have now is we cannot send email from xxx.com to stud.xx.com and vice versa...
when we click send button to send email from [email protected] to [email protected], we'll see a pop-up window
SMTP Error: 5.1.1 Unknown or illegal alias: [email protected]We have 3 servers, 1 directory and 2 messaging
xxx.com is in one server
stud.xxx.com is in another server
both point to the directory server
I created users using IDa and ldapadd
The domains :
dc=xxx,dc=com,o=internet
objectClass=top
objectClass=domain
objectClass=inetDomain
objectClass=mailDomain
objectClass=nsManagedDomain
dc=xxx
description=DC node for xxx.com hosted domain
inetDomainBaseDN=o=xxx.com, dc=xxx,dc=com
inetDomainStatus=active
mailDomainStatus=active
preferredMailHost=xxx.com
mailDomainDiskQuota=-1
mailDomainMsgQuota=-1
nsMaxDomains=1
nsNumUsers=1
nsNumDomains=1
nsNumMailLists=0
dc=stud,dc=xxx,dc=com,o=internet
objectClass=top
objectClass=domain
objectClass=inetDomain
objectClass=mailDomain
objectClass=nsManagedDomain
dc=stud
description=DC node for stud.xxx.com hosted domain
inetDomainBaseDN=o=stud.xxx.com, dc=xxx,dc=com
inetDomainStatus=active
mailDomainStatus=active
preferredMailHost=stud.xxx.com
mailDomainDiskQuota=-1
mailDomainMsgQuota=-1
nsMaxDomains=1
nsNumUsers=1
nsNumDomains=1
nsNumMailLists=0
user instance:
uid=helpdesk, ou=people, o=stud.xxx.com, dc=xxx,dc=com
objectClass=top
objectClass=person
objectClass=organizationalPerson
objectClass=inetOrgPerson
objectClass=inetUser
objectClass=ipUser
objectClass=nsManagedPerson
objectClass=userPresenceProfile
objectClass=inetMailUser
objectClass=inetLocalMailRecipient
mail=[email protected]
mailUserStatus=active
dataSource=NDA 4.5 Delegated Administrator
mailHost=stud.xxx.com
givenName=Helpdesk
cn=Helpdesk
uid=helpdesk
sn=
inetUserStatus=active
memberOf=cn=Domain Organization Administrators,ou=2005-student-,o=stud.xxx.com,dc=xxx,dc=com
mailDeliveryOption=mailbox
preferredLanguage=en
nswmExtendedUserPrefs=meDraftFolder=Drafts
nswmExtendedUserPrefs=meSentFolder=Sent
nswmExtendedUserPrefs=meTrashFolder=Trash
nswmExtendedUserPrefs=meInitialized=true
pabURI=ldap://dir.xxx.com:389/ou=helpdesk, ou=people, o=stud.xxx.com, dc=xxx,dc=com,o=pab -
I have a simple sharepoint workflow that sends and email to users. I know that the mail portion works because I can put a user's email address in the to: field and it sends fine. If I use a string variable with the email address, I get a workflow
error.
Simple steps to repro for me:
Create a new workflow in SPD (I have tried a list workflow and site workflow)
Create a workflow variable named email.
Set the variable to an email address where the user is in the site
Send email and do a variable lookup to the email variable just set.
The workflow just hangs in this scenario
I do get an error:
Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP BadRequest to https://[tenant].sharepoint.com/_api/sp.utilities.utility.SendEmail
Correlation Id: 568e9c68-ea75-d057-ab9f-d86f6cae3021 Instance Id: 9cc721a4-78e6-456f-812b-67351dfc9710
The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.
Retry nowSimple answer... When I used the variable, I marked it as a string. There is an email address setting.
Maybe you are looking for
-
I upgraded to version 7.3.1, msg box said i had authorized a new machine
After I finished upgrading to version 7.3.1, a message box appeared saying that I had authorized a new machine. "Machine Authorization was Successful. You have authorized a total number of 4 machines out of your available 5." Wait, why did upgrading
-
How to refresh the input text value in backing bean
hi all i want to know how to refresh the input text value in backing bean? i have tried this code ,but it doesnt work public void click(ActionEvent actionEvent) { tempConId.setValue("111111111111111"); AdfFacesContext.getCurrentInstance().addPartialT
-
What do i do if my ipod wont charge?
my ipod nano 4th gen wont charge and it died with half a charge
-
Changes in Delivery doc effect in which table
Hi all, iam chaneing the deliveryquantity in delivery order, that changes iun which table that will be stored. i know likp,lips this tables are stored the delivery details. but i want in which table that delivery doc effect will be stored. pls help
-
Saving down from CS5 to CS4 cross-platform
Working on a PC, I am saving down from CS5 to CS4, exporting as an idml. The client is using CS4 on a MAC. When the file opens, the Master Page content is superimposing over the content of the page. Help!