Forums: Sending email with attachment from the database - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sending email with attachment from the database

#1 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 16044
  • Joined: 03-February 03

Posted 19 July 2013 - 12:24 PM

Here is the sample code to send an email with attachments stored in database field. Use in events like BeforeAdd/AfterAdd/BeforeEdit/AfterEdit. Make sure to replace "Field that stores attachments" with the actual field name.

msg =""
set tmpDict = CreateObject("Scripting.Dictionary")


if values("Field that stores attachments")<>"" then
	set fileArray = CreateObject("Scripting.Dictionary")
	set fileArray = my_json_decode(values("Field that stores attachments"))
	set attachments = CreateObject("Scripting.Dictionary")

	for i = 0 to asp_count(fileArray)-1
		attachments(i) = getabspath(fileArray(i)("name"))
	next
	set tmpDict("attachments") = attachments 
end if


msg = msg & "Make: " & values("Make") & vbcrlf
msg = msg & "Model: " & values("Model") & vbcrlf

tmpDict("to")="kornilov@gmail.com"
tmpDict("subject")="Sample subject"
tmpDict("body")=msg
set ret=runner_mail(tmpDict)
if not ret("mailed") then
    response.write ret("message")
end if

Best regards,
Sergey Kornilov
0

#2 User is offline   kamil6x 

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 03-October 08

Posted 18 November 2013 - 10:53 PM

I'm running PHP Version 5.3.2.

my_json_decode(); fails to decode the $values["image"]; which contains string:


"PNG\r\n\x1A\n\x0\x0\x0\rIHDR\x0\x0\x2a\x0\x0\x1_\x8\x6\x0\x0\x0\x6m\x1B\xB\x0\x0\x0\x1sRGB\x0\x1C\x0\x0\x0\x4gAMA\x0\x0\xBa\x5\x0\x0\x0\tpHYs\x0\x0\xE\x0\x0\xE\x1od\x0\x0U0IDATx^\x14ՙpV3k2Fg29D'\x1A=3h\x12I0\x193d\x8Fc\x14\x4#\x6PP.\x1A0\x185'\x1F\x13\x5\x15\x1B\x2J\x10‹\"\x1A#\xB^@\x11D\x5s{Z{O}{#f͚%]w̜9SO.W]uL<Y\n8qb(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$ă\x0\x4 \x0\x1\x8A#\";엷v\x1F\"t\x1F\x14\x15YI\xFe<P\t\x1\x8@\x0\x2\x100%\x8;pzF!B\x18(\x7폤G/i[M\$ă\x0\x4 \x0\x1\x8A w\x11vAyͭrolo\x1D\x8\x1Dbd~Hzmk\x1E_(\x0\x4 \x0\x1\x8\x12]}288(\x3o\x16>'3Z._\x19\x6[+\x7폤Gٶ~I\x7\x1\x8@\x0\x2\x10ȃ@\"L+}a[\x0[k\x0C\xCrW\xF&W+m5A\x1C\x8@\x0\x2\x10@\x1E\x4:\"´aѥ.s\ta{\x7,h\\eVۚ\x17<!\x0\x1\x8@\x0\x2i\x4:&*\x10\x0\x4 \x0\x1\x8@J\x4\x10aUm\n\x1\x8@\x0\x2\x10@a\x8 \n\x15T\x4\x2\x10\x0\x4 \x0*\x11@Ui+\x4 \x0\x1\x8@\x0\x2!\x8+LWP\x11\x8@\x0\x2\x10\x0\x4D\x0\x11Vަ\x10\x0\x4 \x0\x1\x8\x14\x8ke2qD袋D\x13\x0\x4 \x0\x1\x8@\x0\x2\x10hj)TTc֚5kp\rp\x4\"5\x0\x4 \x0\x1\x8@\x0\x2Q\x4\x12aӦMw]<a\x13\x4 \x0\x1\x8@\x0\x2\x10h0TTcz®:Uv\x15W\x17_\x8k\x3:I!\x0\x1\x8@\x0\x2\x100TTc֊]kdr饗\"\x0\x3l\x0\x1B\x6\x1l\x0\x1B\x6Z\x1TTc%zf̘!W]u\\~}OF\x1C)s\x181Bo\t0\x6\x1l\x0\x1B\x6\x1l \x6T+fR\x1AJj*V\x13vׇ7{l̙lʔ)v\"UoFL\rF\x12\x2\xC\x1l\x0\x1B\x6\x1l\x0\x1B\x18UHT;R-Jj,ZQ\"\x1HP\\\x11\xF{\x0\x0\x0\x0IENDB`"
0

#3 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 16044
  • Joined: 03-February 03

Posted 18 November 2013 - 11:13 PM

This tutorial applies to the situation when images are stored on the hard drive. If you store images in the database itself you need to save them to some temporary directory first and then attach it to the email.
Best regards,
Sergey Kornilov
0

#4 User is offline   John 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 538
  • Joined: 02-December 05

Posted 13 December 2013 - 10:52 PM

View Postadmin, on 18 November 2013 - 06:13 PM, said:

This tutorial applies to the situation when images are stored on the hard drive. If you store images in the database itself you need to save them to some temporary directory first and then attach it to the email.

I store images in directory on server . I put in the below code . It sends mail but with no attachments. when you say hard drive do you mean directory on server or local drive. I need to add attachment from image/field access db where image filename is stored in database and images are stored in directory relative path to directory is ../Photos. Really want to do this in a button with selected records sample in tutorial but don't know how to combine. testing with after edit event but don't send attachments. code below . I also have same problem with renaming images in this fashion with sample code for 8.0 will not change image file name in directory on folder in server. Rename Physical file. I am obviously missing something here . Photo_upload file is setup as text file in (access db) my server is InspiRunner. I am not sure if this is all a path problem as your tutorial code does not require for both add attachments and also rename files. You require only to change the field names in red . How about the maroon where the path is unless getpath function is already defined but ??

msg =""
set tmpDict = CreateObject("Scripting.Dictionary")


if values("photo_upload")<>"" then
set fileArray = CreateObject("Scripting.Dictionary")
set fileArray = my_json_decode(values("photo_upload"))
set attachments = CreateObject("Scripting.Dictionary")

for i = 0 to asp_count(fileArray)-1
attachments(i) = getabspath(fileArray(i)("name"))

* .... Trying to figure out what the following code above is for >>>> ("name") . Shouldn't path be defined
next
set tmpDict("attachments") = attachments
end if


msg = msg & "Date: " & values("flddate") & vbcrlf
msg = msg & "Supplier: " & values("fldsupplier") & vbcrlf

tmpDict("to")="myemail@test.com"
tmpDict("subject")="Testing Photos"
tmpDict("body")=msg
set ret=runner_mail(tmpDict)
if not ret("mailed") then
response.write ret("message")
end if
0

#5 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 16044
  • Joined: 03-February 03

Posted 17 December 2013 - 02:57 PM

John,

there is no need to define path separately. Path to each file (absolute or relative) is stored right in the database field. There must be something else.
Best regards,
Sergey Kornilov
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic