Jump to content



Photo

Sending Html Email With Images


  • Please log in to reply
3 replies to this topic

#1 stever

stever

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 66 posts
  • OS:Windows 10
  • Total Memory:4Gb
  • Framework:v4.5+, unsure
  • License:Standard Edition

Posted 08 February 2019 - 11:14 AM

I think this is a very basic question:

How to send an HTML email which includes images in the body (not as attachments). It seems Ubot can't send images as a base64 string, so what is the way to do this?

 

Thanks

 



#2 pash

pash

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 3357 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 08 February 2019 - 08:04 PM

try https://wiki.ubotstu...wiki/Send_Email

Email type set to HTML


New Plugin:: Advanced Facebook | Advanced Connection | Advanced Twitter | Advanced Email | Advanced PowerPoint
- Advanced Data Text File | Advanced DateTime | Advanced Dialog | Advanced Document | Advanced Google Blogger V3 | Advanced Google Drive | Advanced Google YouTube V3 | Advanced Image | Advanced Video | Advanced Screen and Windows | Advanced Systems | Advanced Ubot 1 | Advanced Ubot 2 | Advanced WordPress | Advanced Connection | Advanced Twitter | Advanced Email | Advanced PowerPoint

- Advanced Captcha (V3) | Advanced Captcha (V2) (Old) | Create Table From Excel (Lite) | Check Conection | Ubot Enter License | Auto Free Memory
- Working hours GMT+7. i regret sometimes the answer is delayed due to health problems.


#3 stever

stever

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 66 posts
  • OS:Windows 10
  • Total Memory:4Gb
  • Framework:v4.5+, unsure
  • License:Standard Edition

Posted 11 February 2019 - 03:52 AM

try https://wiki.ubotstu...wiki/Send_Email

Email type set to HTML

Yep - thanks, that was the first port of call, but I don't see anything about embedding base64 images there.



#4 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 3182 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 11 February 2019 - 02:43 PM

Haven't tried it with email but since it's HTML you can try getting the code from somewhere like here: https://www.base64-image.de/

 

Then using this code:

<img src="data:image/png;base64, BASE64 CODE HERE==">





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users