The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated March 27, 2018
Posted by juanpablo1manrique in SharePoint.add a comment
I have the same problem,
I resolved using
SmtpClient smtpClient = new SmtpClient(smtpServer, 25);
I discovered that the transactions try to go by the por 854,
smtpServer:854
Send Mail Power Shell March 6, 2018
Posted by juanpablo1manrique in SharePoint.Tags: PowerShell, SharePoint
add a comment
SharePoint 2013 Management Shell – SharePoint 2010 Management Shell
$sd = new-object System.collections.specialized.stringdictionary
$sd.add(“to”,”uncorreodest@undominio.co”)
$sd.add(“from”,”unorigen@undominioorg.com”)
$sd.add(“Subject”,”The clue is in the name!”)
$web = get-spweb “http://misharepoint/”
$body = “This is our body<br/> We can use <strong>HTML</strong> codes in it.”
[Microsoft.SharePoint.Utilities.SPUtility]::SendEmail($web,$sd,$body)
Windows Power Shell 1
Send-MailMessage -To “uncorreodest@undominio.co” -From “unorigen@undominioorg.com” -Subject “Test mail” -Body “Body aaaa” -SmtpServer “smtp.unorigen.com”
Windows Power Shell 2
$message=new-object Net.Mail.MailMessage;
$message.From=”unorigen@undominioorg.com”;
$message.To.Add(“uncorreodest@undominio.co”);
$message.Subject=”subjecttexthere…”;
$message.Body=”bodytexthere…”;
$smtp=new-object Net.Mail.SmtpClient(“smtp.unorigen.com”,”25″);
$smtp.EnableSSL = $false;
$smtp.Credentials = New-Object System.Net.NetworkCredential(“undominio\unusuario”, “*************”);
$smtp.send($message);
deferred Vs Promise January 6, 2018
Posted by juanpablo1manrique in SharePoint.add a comment
Si lo miras así es más fácil,
vue.js bind src img December 3, 2017
Posted by juanpablo1manrique in SharePoint.add a comment
Hello,
Today, I want bind img in <img> tag,
Solution,
<img v-bind:src=”‘data:image/Bmp;base64,’ + obj1.Obj2.propImage” />
Regards,
HTTP could not register URL http://+:80/HelloWCF/. Your process does not have access rights to this namespace November 27, 2017
Posted by juanpablo1manrique in SharePoint.Tags: .NET, WCF
add a comment
Buen día el día
Hoy me ha sucedido este lindo error,
HTTP could not register URL http://+:80/HelloWCF/. Your process does not have access rights to this namespace
Buscando en blogs, muchos hablaban de “run as administrator” el visual studio, otros de agregar tu cuenta al grupo de administradores del equipo, pero esto me dio para pensar es algo de permisos pero donde, que cuenta es la que no tiene permisos para crear un servicio WCF por código, y vuala se me ocurrió lo siguiente,
El applicationPool en el IIS!!!
El application pool corre con una cuenta, IIUSR que casi no tiene privilegios, entonces la mejor práctica en vez de subirle permisos a la cuenta IIUSR, es utilizar otra cuenta del dominio o local que pertenezca a este grupo de administrador y así poder solucionar el inconveniente,
IIS -> poolApplications -> Advanced Settings -> Indentity -> custom Account -> …. local o dl dominio con permisos de administración sobre el equipo,
Saludos,
Open Advanced Shared Item . Time Out September 20, 2017
Posted by juanpablo1manrique in SharePoint, SharePoint2013.Tags: SharePoint
add a comment
Hello,
In this days I have a problem when I tried to enter at page of advanced shared.
- In the item click in (…)
- An other time (…)
- Share With
- but Waiting … and waiting … till time out,
in SharePoint Logs you find
Slow Query Duration: 104507.8692
If you have a farm with a upper version of 15.0.4571.1502 Apr 2014
You can run
$db = Get-SPContentDatabase -Identity WSS_CONTENT_etc
$db.repair($true)
You maybe should make backup after,
Regards
SPFederationAuthenticationModule.IsRedirectToLogOnPage: Detected a redirection but the redirect is not to a known signin page: September 15, 2017
Posted by juanpablo1manrique in SharePoint.add a comment
Deshabilitar el servicio Request Management
SPSecurityTrimmedControl fails in other URL August 30, 2017
Posted by juanpablo1manrique in SharePoint2013.Tags: SharePoint
add a comment
Amigos les cuento la situación,
Justamente en estos días agregue una URL nueva a un sitio, el sitio navegaba bien pero al intentar dar click en el link de iniciar sesión direccionaba a la URL antigua.
Al revisar,
Internal URL | Zone | Public URL for Zone |
http://urlanterior | Default | http://urlanterior |
https://urlanteriornueva | Default | https://urlanteriornueva |
En SharePoint 2010 al intentar agregar dos URLs en la misma zona arrojaba un error, pero en el caso de SharePoint 2013 el tema es permitido, navega y todo, pero se presenta este error con el control de inicio de sesión. Para solucionarlo se actualizo como en SHP 2010.
Internal URL | Zone | Public URL for Zone |
http://urlanterior | Default | http://urlanterior |
https://urlanteriornueva | Internet | https://urlanteriornueva |
Muchas Saludes,
get current user ASP.NET Forms August 1, 2017
Posted by juanpablo1manrique in SharePoint.add a comment
HttpContext.Current.User.Identity.Name
Read CSV file Powershell March 29, 2017
Posted by juanpablo1manrique in SharePoint.add a comment
$unarchivo = “c:/afd.csv”
param ([string]$unarchivo = $(throw “variable vacia”))
import-csv $unarchivo | foreach-object {
$USRPrincipalName = $_.Column1
$OldPrimary = $_.Column2
$NewPrimary = $_.Column3
#el powershell deseado
Set-Mailbox -identity $UserPrincipalName -EmailAddresses @{add=”SMTP:” + “$NewPrimary”}
}