Is there a trick to display svg images in gmail?

Google Gmail does not support SVG at this time. Google Gmail Support said that they will not support it last time i contacted them. Maybe some time in the distant future when SVG becomes more popular and widely used. Check out this article: http://stylecampaign.com/blog/2014/01/basics-of-svg-in-email/ And this PDF: http://stylecampaign.com/blog/blogimages/SVG/QA-SVG-in-email.pdf Also see this SO question: SVG images … Read more

How to encode the plus (+) symbol in a URL

The + character has a special meaning in [the query segment of] a URL => it means whitespace: . If you want to use the literal + sign there, you need to URL encode it to %2b: body=Hi+there%2bHello+there Here’s an example of how you could properly generate URLs in .NET: var uriBuilder = new UriBuilder(“https://mail.google.com/mail”); … Read more

C# SmtpClient class not able to send email using gmail

You won’t believe what fixed my problem. The Credentials property ss.Credentials = new NetworkCredential(“username”, “pass”); must be declared after ss.UseDefaultCredentials = false; So the final working code listing is SmtpClient ss = new SmtpClient(“smtp.gmail.com”, 587); ss.EnableSsl = true; ss.Timeout = 10000; ss.DeliveryMethod = SmtpDeliveryMethod.Network; ss.UseDefaultCredentials = false; ss.Credentials = new NetworkCredential(“username”, “pass”); MailMessage mm = … Read more

GMail appearing to ignore Reply-To

Take a look at this thread; I think it answers your question. One of the later posts reads: If the “From” address is either the same as the “To” address, or is configured in GMail Settings as one of the ‘Send As…’ accounts, Gmail replies to the “To” address instead of the “Reply-To” address. An … Read more

Send mail via Gmail with PowerShell V2’s Send-MailMessage

Here’s my PowerShell Send-MailMessage sample for Gmail… Tested and working solution: $EmailFrom = “notifications@somedomain.com” $EmailTo = “me@earth.com” $Subject = “Notification from XYZ” $Body = “this is a notification from XYZ Notifications..” $SMTPServer = “smtp.gmail.com” $SMTPClient = New-Object Net.Mail.SmtpClient($SmtpServer, 587) $SMTPClient.EnableSsl = $true $SMTPClient.Credentials = New-Object System.Net.NetworkCredential(“username”, “password”); $SMTPClient.Send($EmailFrom, $EmailTo, $Subject, $Body) Just change $EmailTo, and … Read more

Nodemailer/Gmail – What exactly is a refresh token and how do I get one?

Notes by this answer original’s author: So, I finally managed to figure it out. I’m surprised I couldn’t find more ressources about that so for those who need to use Gmail with Nodemailer I found the answer here: http://masashi-k.blogspot.fr/2013/06/sending-mail-with-gmail-using-xoauth2.html Try creating a new User if you already had one and things ain’t working fine. It … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)