How do i concatenate this 2 lines of code: dtProgramada.getValue() dthoraProgramada.getValue() And later add them as parameters on this method of type Date: aux.setDataProgramada(); dtProgramada it's a Datebox and dthoraProgramada it's a Time box (ZK framework), public Date getDataProgramada() { return dataProgramada; } public void setDataProgramada(Date dataProgramada) { this.dataProgramada = dataProgramada; } Please advise...
hellboy_83
Posts
-
Help! on concatenation -
Input field for time only!Hi Guys, I need to format an input field to accept only time with this format: "H:mm:s" How can this be done?
-
How to add an active directory OU to a sharepoint site?Hi, I have done a full import of users on my active directory company but only to a specific OU (OU=DSI,DC=*****,DC=CO,DC=MZ) and it fetched over 94 profiles. Only then i'm able to run this command from stsadm to add those imported users to a specific group in sharepoint which works fine. After adding a specific user it pulls all other relevant info from the AD :-O stsadm -o adduser -url url -userlogin DOMAIN\user -useremail email address -role rolename -username displayname But i see a lot of drawbacks on this, so instead of adding one user at a time is there a way of adding the whole OU to my sharepoint site? Regards,
-
Outgoing Email SettingsThank you Iday, I think too that should work... Regards, "pursuit of knowledge under difficulties...once UTPIAN soldier, a soldier forever"
-
Outgoing Email SettingsHi Iday86, I have read your post and it's very detailed, i appreciated that but still i just want to consult if what i'm about to do is correct: use the windows IIS SMTP on the machine with sharepoint installed and point the windows IIS SMTP service to my hMailServer installation Please advise... "pursuit of knowledge under difficulties...once UTPIAN soldier, a soldier forever"
-
Help me to convert this code in C# into a Java codepublic class Program
{
public static void Main(string[] args)
{
try
{
// Check arguments
if (args.Length != 3)
{
ShowUsage();
return;
}// Create message MailMessage mmMessage = new MailMessage(); mmMessage.To.Add(new MailAddress(args\[2\] as string)); mmMessage.From = new MailAddress(args\[1\] as string); mmMessage.Subject = "TestMail"; mmMessage.Body = "This is a test"; // Send message SmtpClient sc = new SmtpClient(args\[0\] as string); sc.Send(mmMessage); } catch (Exception ex) { Console.WriteLine(ex); } finally { //Pause Console.WriteLine(); Console.Write("Press a key >"); Console.ReadKey(); } } private static void ShowUsage() { Console.WriteLine("Usage"); Console.WriteLine("TestMail \[SmtpServer\] \[FromAddress\] \[ToAddress\]"); } } // end Program
Regards,
-
Outgoing Email SettingsHi guys, I have been struggling around configuring outgoing email settings in sharepoint, don't feel sorry for me this is the life i have chosen. I'm tired of beating myself down with settings that i'm not sure if they gonna work. Somebody told me not to guess but understand the flow first and i think that was a smart advice. So having said that i'd like to know when an email alert message is generated by a sharepoint site, what's the path it takes until it gets delivered to an email server. Who are the middle players that take part until the message is delivered to an email server and what are the positions of this middle players? and the only middle player that i can think of here is smtp virtual server which comes along with iis. Now here is my scenario: On Server A i have SharePoint 3.0 Central Administration running and IIS On server B i have my hMailServer running. Now i know SMTP virtual server plays a role in here but where should it be configured, on Server A or Server B, to remember that on server A i have a smtp virtual server running for incoming emails. But most importantly i want to know how an email travels from A to B in order to trigger my faults for better troubleshooting. Note: Both servers are in the same domain Please advise...
-
Send e-mail to a sharepoint discussion board through outlook!Hi guys, I've done another troubleshooting as well just to see if sharepoint can successfully receive incoming emails. This time i did using telnet and it worked fine. But when it comes to use hmail server it doesn't work. Somebody gave me a hint, saying i should use a relay list or smtp connector to send email to my sharepoint site but i have no clues on how to do either both. From what i see there is no communication between hmail server which resides in a machine server with sharepoint site which resides in another machine server. Can somebody please advise.
-
Send e-mail to a sharepoint discussion board through outlook!Hi guys, i'm really stuck here! But i must confess working with sharepoint products has put a smile on mine face :) I've done some troubleshooting in regards to incoming e-mail settings, when i drop a teste.eml file in the pickup folder, it goes directly to the drop folder, after few minutes the sharepoint timer service does it's job, after logging on my sharepoint site i see the email right there at the team discussion. This is how i have accomplished that: Internet Information Services (IIS) 6.0 Manager (SMTP VIRTUAL SERVER #1) 1. SMTP Virtual Server #1, right clicked properties, access, relay, added 127.0.0.1, 2. Delivery, advanced, fully qualified domain name(FQDN): ******.co.mz (checked DNS, it valid) 3. Below SMTP Virtual Server #1, clicked domain, rename from wdsi38.******.co.mz to ******.co.mz 4. Right clicked domain name, properties, drop directory: C:\inetpub\mailroot\Drop 5. Checked enable drop directory quota Internet Information Services (IIS) 7.0 Manager (SMTP EMAIL) - Not sure if this configuration is necessary!! Email address: ******.co.mz, checked deliver e-mail to smtp server, smtp server: ******, authentication settings: specify credentials: username: machabane, password: xxxxx CA – incoming E-Mail Settings Enable sites on this server to receive e-mail? Yes Setting Mode: Automatic Use the SharePoint Directory Management Service to create distribution groups and contacts? No Email server display address: mylist@*****.co.mz Checked accept mail from these safe email-servers: entered the ip of the email server SharePoint Site e.g: http://wdsi38/sites/email/default.aspx Under discussions, clicked Team Discussions, Settings, Discussion Board Settings Under communications, clicked Incoming e-mail settings, allow this list to receive e-mail? Yes Save e-mail attachments? Yes Save original e-mail? Yes Save meetings invitations? Yes E-mail security policy: check Accept e-mail messages from any sender That was a nice troubleshooting, but instead of dropping things off the pickup folder folder, i want to send the emails to that pick up folder through am email client (Outlook), by the way i'm using hmail server, that's where i'm suppose to do the testing before going to production with exchange server. In the outlook, i've set up an email account from where i'm suppose to send an email to the sharepoint site: account type: IMAP, incoming mail server: vmdev03, outgoing mail server (SMTP):vm