What do you mean by "lots of tedious manual works"?
You have to specify where shall those emails appear, (embed `<img 
src="cid:image.jpg" alt="My image" />` into the body),
or you can just Attach those files to the email.

 
2017. június 11., vasárnap 16:47:54 UTC+2 időpontban Antonio Sun a 
következőt írta:
>
> Hey Alex,
>
> Can gomail supports embedding *a lot* of images?
>
> From
> https://godoc.org/gopkg.in/gomail.v2#Message.Embed
> it seems that gomail only support embedding one image, if we embed a lot 
> of them, there are still lots of tedious manual works to make it works. 
>
> Right?
>
>
> On Monday, May 30, 2016 at 9:41:28 PM UTC-4, Tong Sun wrote:
>>
>> Nice Alexandre. 
>>
>> Can Gomail <https://github.com/go-gomail/gomail> send email using SSL 
>> but not TLS? I.e., basically doing this:
>> https://gist.github.com/chrisgillis/10888032
>>
>> Could you show me how to do it please? I looked at 
>> https://godoc.org/gopkg.in/gomail.v2, but haven't figured out the way. I 
>> also found a historic message with this:
>>
>>  d := gomail.Dialer{Host: "localhost", Port: 587, SSL: false, TLSConfig: nil}
>>
>>
>> but it doesn't work (and there is no answer either). 
>>
>> Please help. 
>> Thanks
>>
>> On Wednesday, September 2, 2015 at 7:55:26 AM UTC-4, Alexandre Cesaro 
>> wrote:
>>>
>>> Hi,
>>>
>>> I just released the second version of Gomail 
>>> <https://github.com/go-gomail/gomail>.
>>>
>>> There are quite a few backward-incompatible changes 
>>> <https://github.com/go-gomail/gomail/blob/master/CHANGELOG.md> since 
>>> Gomail v1 but it brings lots of good stuff:
>>>
>>>    - A great focus was placed on performances. Gomail v2 is way more 
>>>    efficient than Gomail v1 to send a large number of emails (see the 
>>>    Daemon <https://godoc.org/gopkg.in/gomail.v2#example-package--Daemon> 
>>>    or Newsletter 
>>>    <https://godoc.org/gopkg.in/gomail.v2#example-package--Newsletter> 
>>>    examples).
>>>    - The API is now clearer and way more flexible.
>>>    - The documentation <https://godoc.org/gopkg.in/gomail.v2> improved 
>>>    and many examples were added.
>>>    - All existing issues have been closed.
>>>    - The minimum Go version is now 1.2 instead of 1.3. No external 
>>>    dependencies are used with Go 1.5.
>>>
>>> More info on Github: https://github.com/go-gomail/gomail
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to