HTML Email Merge Fails
Hi All,
I'm running windows 8.1, And office 2010. My email merge from Word 2010 to Outlook 2010 works as a plain text and attachments but not as HTML.
Can someone please let me know how to fix this issue.
Cheers
Scott
Hi,
Have you installed any Office 2010 Service Pack? Please at least update it to Service Pack 1 then check the result:
Service Pack 1 for Microsoft Office 2010 (KB2460049) 32-bit Edition
http://www.microsoft.com/en-in/download/details.aspx?id=26622
Regards,
Melon Chen
TechNet Community Support
Similar Messages
-
IPhone HTML email thumbnails fail to link
I have an HTML email design with a section that uses images as links (thumbnails) to higher resolution versions of themselves. It works everywhere except the iPhone; each time you tap the link (a low res, small image), it brings up the "Save as" and "Copy" buttons instead of sending you to the Hi-Res image... What's wrong?
I can only be certain the problem exists on an iPhone4 (non "s"). I've heard it rumored that it may be a problem with the iPhone 4 specifically? Any workaround?Ooops, I spoke a little to soon. I was so excited to finally see the BG image show up, that I didn't even notice that the table data was not displaying. Argggh!
Where in your code would I add the data?
I have it in this little 3 by.3 table which I attempted to nest inside a cell of your code. Looked fine in a browser, but was invisible in newer Outlook messages.
Here is the data table
<TABLE>
<TBODY>
<TR>
<TD height=25 colSpan=3></TD></TR>
<TR>
<TR>
<TH height=10 width=200>
<DIV align=right><I><FONT size=2>Range of Returns</FONT></I>
</DIV></TH>
<TH width=140>
<DIV align=center><I><FONT size=2>September</FONT></I></DIV></TH>
<TH width=190>
<DIV align=center><I><FONT size=2>YTD</FONT></I></DIV></TH></TR>
<TR>
<TD height=10>
<DIV align=right><FONT size=2>All PCM Accounts </FONT></DIV></TD>
<TD>
<DIV align=center><FONT size=2>1.0% - 8.0%</FONT></DIV></TD>
<TD>
<DIV align=center><FONT size=2>5.1% - 21.7%</FONT></DIV></TD></TR>
<TR>
<TD height=21>
<DIV align=right><FONT size=2>S&P 500 </FONT></DIV></TD>
<TD>
<DIV align=center><FONT size=2>2.4%</FONT></DIV></TD>
<TD>
<DIV align=center><FONT size=2>14.6%</FONT></DIV></TD></TR>
<TR>
<TD height=75 colSpan=3></TD></TR></TBODY>
</TABLE>
Would love your assistance. -
Is profimail the only program to read HTML emails?
Hi all,
Is profimail (www.lonelycatgames.com/?app=profimail) the only program to read HTML emails?
Overall I think it’s a good program and I wouldn’t mind paying to buy it. However, it feels very weird that not even top-notch and expensive mobiles like the E71 can read HTML emails without additional software! Plus, I’d like to consider alternatives before making up my mind and buying profimail. As much as I don’t like HTML emails, I receive plenty, which are almost unreadable and impossible to decipher if opened as text emails.
I think the main disadvantages of profimail vs the integrated email client, Nokia email (email.nokia.com) or whatever your operator provided (e.g. ‘email on 3’ provided by www.seven.com)are:
- Price (profimail is not hugely expensive but not free)
- Battery life: if used in imap idle mode, it drains the battery more than the alternatives outlined above
- Not perfect integration with Symbian: you’ll see a small box on the homescreen with the number of unread messages, but you won’t be able to show the headers in the home screen. Not ideal but bearable; after all, it’s exactly what happens with sms messages
And the advantages are:
- Ability to read HTML email
- True, instant delivery of emails if used in imap idle mode (it reconnects automatically if it loses the connection).
My experience with Nokia email and email on 3 used on the 3 UK network is that emails are delivered with delays, sometimes very considerable ones. My understanding is that these systems work by sending some sort of ‘silent sms’ which prompts the mobile to connect to the server and retrieve new mail only when needed. The bottleneck is that the silent sms doesn’t always arrive instantly, for reasons I fail to understand (network congestion maybe?). This was a great disappointment because I previously had a E61 with Blackberry connect which was great: emails did arrive instantly
Let me know your thoughts! Bye!have you tried emoze ? and yes you might be right that it is a network issue rather than the program
You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery.... -
Sending Unicode HTML email from Oracle
Dear All,
How we can send the HTML email from Oracle in Unicode format (I am using Arabic Language, to be specific). So far I have tried the following solutions (using utl_smpt) without any success (either i see junk characters in the email or see question marks). Would you please help me in solving this?
Options Tried*
Option 1
SQL> ed
Wrote file afiedt.buf
1 CREATE OR REPLACE PROCEDURE p_send_mail_test (
2 sender IN VARCHAR2,
3 recipient IN VARCHAR2,
4 subj IN VARCHAR2,
5 message IN VARCHAR2)
6 IS
7 mailhost VARCHAR2(30) := '<smtp Server>';
8 c utl_smtp.connection;
9 PROCEDURE send_header( name IN VARCHAR2, header IN VARCHAR2) AS
10 BEGIN
11 utl_smtp.write_data(c, name || ': ' || header || utl_tcp.CRLF);
12 END;
13 BEGIN
14 c := utl_smtp.open_connection(mailhost,25);
15 utl_smtp.helo(c, mailhost);
16 utl_smtp.mail(c, sender);
17 utl_smtp.rcpt(c, recipient);
18 utl_smtp.open_data(c);
19 send_header('From', sender);
20 send_header('To', recipient);
21 -- If you need to send mail to more than one receipient, uncomment the
22 -- following line(s) as appropriate. Please don't forget the ","
23 -- in the "To" line before the next receipient's email id. You can't
24 -- use a comma separated list in the receipient parameter.
25 -- For variable number of "To"'s and "Cc"'s have multiple calls to
26 -- "send_header" function inside a cursor for loop.
27 -- Similar comments apply for "Cc" too.
28 -- send_header('To', ',<email@domain>');
29 send_header('Cc', ',<email@domain>');
30 send_header('Subject', subj);
31 utl_smtp.write_data(c, utl_tcp.CRLF || message);
32 utl_smtp.close_data(c);
33 utl_smtp.quit(c);
34 EXCEPTION
35 WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
36 utl_smtp.quit(c);
37 raise_application_error(-20000,
38 'Failed to send mail due to the following error: ' || sqlerrm);
39* END;
SQL>
SQL> /
Procedure created.
SQL> ed
Wrote file afiedt.buf
1 declare
2 email_text varchar2(2000);
3 contract_end_date_v date := sysdate;
4 name_v varchar2(200) := 'Riaz';
5 begin
6 email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||' المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى <br/>.ولكم جزيل الشكر والتقدير </font></div>';
7 p_send_mail_test('<email@domain>','<email@domain>','Hello',email_text);
8* end;
SQL> /
PL/SQL procedure successfully completed.
Result_
<div align="right"><font size="4"><b>????? Riaz ???????</b>
???? ?????? ?????? ?? ????? ????? ??? ?????? ?????? 12-07-2011
.???? ???? ????? ???????? </font></div>
[Question marks along with all tags; this OTN page is converting that to HTML output]
Option2
SQL> ed
Wrote file afiedt.buf
1 create or replace procedure html_email(
2 p_to in varchar2,
3 p_from in varchar2,
4 p_subject in varchar2,
5 p_text in varchar2 default null,
6 p_html in varchar2 default null
7 )
8 is
9 l_boundary varchar2(255) default 'a1b2c3d4e3f2g1';
10 l_connection utl_smtp.connection;
11 l_body_html clob := empty_clob; --This LOB will be the email message
12 l_offset number;
13 l_ammount number;
14 l_temp varchar2(32767) default null;
15 l_smtp_hostname varchar2(50) := '<smtp Server>';
16 begin
17 l_connection := utl_smtp.open_connection( l_smtp_hostname, 25);
18 utl_smtp.helo( l_connection, l_smtp_hostname );
19 utl_smtp.mail( l_connection, p_from );
20 utl_smtp.rcpt( l_connection, p_to );
21 l_temp := l_temp || 'MIME-Version: 1.0' || chr(13) || chr(10);
22 l_temp := l_temp || 'To: ' || p_to || chr(13) || chr(10);
23 l_temp := l_temp || 'From: ' || p_from || chr(13) || chr(10);
24 l_temp := l_temp || 'Subject: ' || p_subject || chr(13) || chr(10);
25 l_temp := l_temp || 'Reply-To: ' || p_from || chr(13) || chr(10);
26 l_temp := l_temp || 'Content-Type: multipart/alternative; boundary=' ||
27 chr(34) || l_boundary || chr(34) || chr(13) ||
28 chr(10);
29 ----------------------------------------------------
30 -- Write the headers
31 dbms_lob.createtemporary( l_body_html, false, 10 );
32 dbms_lob.write(l_body_html,length(l_temp),1,l_temp);
33 ----------------------------------------------------
34 -- Write the text boundary
35 l_offset := dbms_lob.getlength(l_body_html) + 1;
36 l_temp := '--' || l_boundary || chr(13)||chr(10);
37 l_temp := l_temp || 'content-type: text/plain;charset=utf-8' ||
38 chr(13) || chr(10) || chr(13) || chr(10);
39 dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
40 ----------------------------------------------------
41 -- Write the plain text portion of the email
42 l_offset := dbms_lob.getlength(l_body_html) + 1;
43 dbms_lob.write(l_body_html,length(p_text),l_offset,p_text);
44 ----------------------------------------------------
45 -- Write the HTML boundary
46 l_temp := chr(13)||chr(10)||chr(13)||chr(10)||'--' || l_boundary ||
47 chr(13) || chr(10);
48 l_temp := l_temp || 'content-type: text/html;charset=utf-8' ||
49 chr(13) || chr(10) || chr(13) || chr(10);
50 l_offset := dbms_lob.getlength(l_body_html) + 1;
51 dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
52 ----------------------------------------------------
53 -- Write the HTML portion of the message
54 l_offset := dbms_lob.getlength(l_body_html) + 1;
55 dbms_lob.write(l_body_html,length(p_html),l_offset,p_html);
56 ----------------------------------------------------
57 -- Write the final html boundary
58 l_temp := chr(13) || chr(10) || '--' || l_boundary || '--' || chr(13);
59 l_offset := dbms_lob.getlength(l_body_html) + 1;
60 dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
61 ----------------------------------------------------
62 -- Send the email in 1900 byte chunks to UTL_SMTP
63 l_offset := 1;
64 l_ammount := 1900;
65 utl_smtp.open_data(l_connection);
66 while l_offset < dbms_lob.getlength(l_body_html) loop
67 utl_smtp.write_data(l_connection,
68 dbms_lob.substr(l_body_html,l_ammount,l_offset));
69 l_offset := l_offset + l_ammount ;
70 l_ammount := least(1900,dbms_lob.getlength(l_body_html) - l_ammount);
71 end loop;
72 utl_smtp.close_data(l_connection);
73 utl_smtp.quit( l_connection );
74 dbms_lob.freetemporary(l_body_html);
75* end;
SQL> /
Procedure created.
SQL> ed
Wrote file afiedt.buf
1 declare
2 email_text varchar2(2000);
3 contract_end_date_v date := sysdate;
4 name_v varchar2(200) := 'Riaz';
5 begin
6 email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||' المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى <br/>.ولكم جزيل الشكر والتقدير </font></div>';
7 html_email(p_to=>'<email@domain>',p_from=>'<email@domain>',p_subject=>'Hello',p_text=>'Hi', p_html=>email_text);
8* end;
SQL> /
PL/SQL procedure successfully completed.
Result*
????? Riaz ???????
???? ?????? ?????? ?? ????? ????? ??? ?????? ?????? 12-07-2011
Option3
SQL> ed
Wrote file afiedt.buf
1 create or replace procedure p_html_email_riaz(
2 p_to in varchar2,
3 p_from in varchar2,
4 p_subject in varchar2,
5 p_text in varchar2 default null,
6 p_html in varchar2 default null
7 )
8 is
9 l_boundary varchar2(255) default 'a1b2c3d4e3f2g1';
10 l_connection utl_smtp.connection;
11 l_body_html clob := empty_clob; --This LOB will be the email message
12 l_offset number;
13 l_ammount number;
14 l_temp varchar2(32767) default null;
15 l_smtp_hostname varchar2(50) := '<smtp Server>';
16 begin
17 l_connection := utl_smtp.open_connection( l_smtp_hostname, 25);
18 utl_smtp.helo( l_connection, l_smtp_hostname );
19 utl_smtp.mail( l_connection, p_from );
20 utl_smtp.rcpt( l_connection, p_to );
21 l_temp := l_temp || 'MIME-Version: 1.0' || chr(13) || chr(10);
22 l_temp := l_temp || 'To: ' || p_to || chr(13) || chr(10);
23 l_temp := l_temp || 'From: ' || p_from || chr(13) || chr(10);
24 l_temp := l_temp || 'Subject: ' || p_subject || chr(13) || chr(10);
25 l_temp := l_temp || 'Reply-To: ' || p_from || chr(13) || chr(10);
26 l_temp := l_temp || 'Content-Type: multipart/alternative; boundary=' ||
27 chr(34) || l_boundary || chr(34) || chr(13) ||
28 chr(10);
29 ----------------------------------------------------
30 -- Write the headers
31 dbms_lob.createtemporary( l_body_html, false, 10 );
32 dbms_lob.write(l_body_html,length(l_temp),1,l_temp);
33 ----------------------------------------------------
34 -- Write the text boundary
35 l_offset := dbms_lob.getlength(l_body_html) + 1;
36 l_temp := '--' || l_boundary || chr(13)||chr(10);
37 l_temp := l_temp || 'content-type: text/plain; charset=UTF-8' ||
38 chr(13) || chr(10) || chr(13) || chr(10);
39 dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
40 ----------------------------------------------------
41 -- Write the plain text portion of the email
42 /**
43 l_offset := dbms_lob.getlength(l_body_html) + 1;
44 dbms_lob.write(l_body_html,length(p_text),l_offset,p_text);
45 **/
46 ----------------------------------------------------
47 -- Write the HTML boundary
48 l_temp := chr(13)||chr(10)||chr(13)||chr(10)||'--' || l_boundary ||
49 chr(13) || chr(10);
50 l_temp := l_temp || 'content-type: text/html;' ||
51 chr(13) || chr(10) || chr(13) || chr(10);
52 l_offset := dbms_lob.getlength(l_body_html) + 1;
53 dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
54 ----------------------------------------------------
55 -- Write the HTML portion of the message
56 l_offset := dbms_lob.getlength(l_body_html) + 1;
57 dbms_lob.write(l_body_html,length(p_html),l_offset,p_html);
58 ----------------------------------------------------
59 -- Write the final html boundary
60 l_temp := chr(13) || chr(10) || '--' || l_boundary || '--' || chr(13);
61 l_offset := dbms_lob.getlength(l_body_html) + 1;
62 dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
63 ----------------------------------------------------
64 -- Send the email in 1900 byte chunks to UTL_SMTP
65 l_offset := 1;
66 l_ammount := 1900;
67 utl_smtp.open_data(l_connection);
68 while l_offset < dbms_lob.getlength(l_body_html) loop
69 utl_smtp.write_raw_data(l_connection,
70 utl_raw.cast_to_raw(
71 dbms_lob.substr(l_body_html,l_ammount,l_offset ) ) );
72 l_offset := l_offset + l_ammount ;
73 l_ammount := least(1900,dbms_lob.getlength(l_body_html) - l_ammount);
74 end loop;
75 utl_smtp.close_data(l_connection);
76 utl_smtp.quit( l_connection );
77 dbms_lob.freetemporary(l_body_html);
78* end;
SQL>
SQL> /
Procedure created.
SQL> ed
Wrote file afiedt.buf
1 declare
2 email_text varchar2(2000);
3 contract_end_date_v date := sysdate;
4 name_v varchar2(200) := 'Riaz';
5 begin
6 email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||' المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى <br/>.ولكم جزيل الشكر والتقدير </font></div>';
7 p_html_email_riaz(p_to=>'<email@domain>',p_from=>'<email@domain>',p_subject=>'Hello',p_text=>'Hi', p_html=>email_text);
8* end;
SQL> /
PL/SQL procedure successfully completed.
Result*
GaSmO Riaz GacMJQc
mQLl GaJ_Qc HGaZac Cd GaZ^O GaNGU H_c SmdJem HJGQmN 12-07-2011
. fZame mQL\l GaJ_\Qc HE]GOI EOGQI GacfGQO GaHTQmI ]m MGa ZOc Q[HJ_c HJLOmO GaZ^O NaGa cOI C^UeG CSHfZmd cd Gamfc fPa_ aaCecmI Ga^Ufl
.fa_c LRma GaT_Q fGaJ^OmQ
*Option4*
[code]
SQL> ed
Wrote file afiedt.buf
1 CREATE OR REPLACE PROCEDURE send_email_html_test(
2 pi_from IN Varchar,
3 pi_to IN VARCHAR,
4 pi_cc IN Varchar,
5 pi_subj IN VARCHAR,
6 pi_msg CLOB
7 )
8 IS
9 conn utl_smtp.connection;
10 lv_mailhost varchar2(1000);
11 lv_port number;
12 BEGIN
13 lv_mailhost := '<smtp Server>';
14 lv_port := 25;
15 conn := utl_smtp.open_connection(lv_mailhost, lv_port);
16 utl_smtp.helo(conn, lv_mailhost);
17 utl_smtp.mail(conn, pi_from);
18 utl_smtp.rcpt(conn, pi_to);
19 IF pi_cc is not null THEN
20 utl_smtp.rcpt(conn, pi_cc);
21 END IF;
22 utl_smtp.open_data(conn);
23 utl_smtp.write_data(conn, 'MIME-version: 1.0' || utl_tcp.CRLF);
24 utl_smtp.write_data(conn, 'Content-Type: text/html; charset=iso-8859-6' ||
25 utl_tcp.CRLF);
26 utl_smtp.write_data(conn, 'Content-Transfer-Encoding: 8bit' ||
27 utl_tcp.CRLF);
28 utl_smtp.write_data(conn, 'From:' ||pi_from || utl_tcp.CRLF);
29 utl_smtp.write_data(conn, 'To:' ||pi_to || utl_tcp.CRLF);
30 utl_smtp.write_data(conn, 'Cc:' ||pi_cc || utl_tcp.CRLF);
31 utl_smtp.write_data(conn, 'Reply-To:' ||pi_from || utl_tcp.CRLF);
32 utl_smtp.write_data(conn, 'Subject:' ||pi_subj|| utl_tcp.CRLF);
33 utl_smtp.write_data(conn, utl_tcp.crlf);
34 utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw(pi_msg));
35 utl_smtp.close_data(conn);
36 utl_smtp.quit(conn);
37 EXCEPTION WHEN others THEN
38 dbms_output.put_line(sqlerrm);
39* END;
40 /
Procedure created.
SQL> ed
Wrote file afiedt.buf
1 declare
2 email_text varchar2(2000);
3 contract_end_date_v date := sysdate;
4 name_v varchar2(200) := 'Riaz';
5 begin
6 email_text :='
<div align="right"><font size="4"><b>السيد '||name_v||' المحترم</b>
يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'
. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى
.ولكم جزيل الشكر والتقدير </font></div>';
7 send_email_html_test('<email@domain>',
8 '<email@domain>',
9 '<email@domain>',
10 'Hello',email_text);
11* end;
SQL> /
PL/SQL procedure successfully completed.
Result*
Riaz افكحترك
ٍرجٌ افترك بافغفك أل افغد افخاص بك سٍلتمٍ بتارٍخ 12-07-2011
. نغفٍم ٍرجٌ افترك بإادة إدارة افكنارد افبشرٍة ٍ حاف غدك ربتك بتجدٍد افغد خفاف كدة أصما أسبنغٍل كل افٍنك نذف ففأمكٍة افصنٌ
.نفك جزٍف افشر نافتدٍر
Option5
SQL> ed
Wrote file afiedt.buf
1 CREATE OR REPLACE PROCEDURE send_mail_test1 (p_to IN VARCHAR2,
2 p_from IN VARCHAR2,
3 p_subject IN VARCHAR2,
4 p_text_msg IN VARCHAR2 DEFAULT NULL,
5 p_html_msg IN VARCHAR2 DEFAULT NULL,
6 p_smtp_host IN VARCHAR2,
7 p_smtp_port IN NUMBER DEFAULT 25)
8 AS
9 l_mail_conn UTL_SMTP.connection;
10 l_boundary VARCHAR2(50) := '----=*#abc1234321cba#*=';
11 BEGIN
12 l_mail_conn := UTL_SMTP.open_connection(p_smtp_host, p_smtp_port);
13 UTL_SMTP.helo(l_mail_conn, p_smtp_host);
14 UTL_SMTP.mail(l_mail_conn, p_from);
15 UTL_SMTP.rcpt(l_mail_conn, p_to);
16 UTL_SMTP.open_data(l_mail_conn);
17 UTL_SMTP.write_data(l_mail_conn, 'Date: ' || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS') || UTL_TCP.crlf);
18 UTL_SMTP.write_data(l_mail_conn, 'To: ' || p_to || UTL_TCP.crlf);
19 UTL_SMTP.write_data(l_mail_conn, 'From: ' || p_from || UTL_TCP.crlf);
20 UTL_SMTP.write_data(l_mail_conn, 'Subject: ' || p_subject || UTL_TCP.crlf);
21 UTL_SMTP.write_data(l_mail_conn, 'Reply-To: ' || p_from || UTL_TCP.crlf);
22 UTL_SMTP.write_data(l_mail_conn, 'MIME-Version: 1.0' || UTL_TCP.crlf);
23 UTL_SMTP.write_data(l_mail_conn, 'Content-Type: multipart/alternative; boundary="' || l_boundary || '"' || UTL_TCP.crlf || UTL_TCP.crlf);
24 IF p_text_msg IS NOT NULL THEN
25 UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || UTL_TCP.crlf);
26 UTL_SMTP.write_data(l_mail_conn, 'Content-Type: text/plain; charset="utf-8"' || UTL_TCP.crlf || UTL_TCP.crlf);
27 UTL_SMTP.write_data(l_mail_conn, p_text_msg);
28 UTL_SMTP.write_data(l_mail_conn, UTL_TCP.crlf || UTL_TCP.crlf);
29 END IF;
30 IF p_html_msg IS NOT NULL THEN
31 UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || UTL_TCP.crlf);
32 UTL_SMTP.write_data(l_mail_conn, 'Content-Type: text/html; charset="utf-8"' || UTL_TCP.crlf || UTL_TCP.crlf);
33 UTL_SMTP.write_data(l_mail_conn, p_html_msg);
34 UTL_SMTP.write_data(l_mail_conn, UTL_TCP.crlf || UTL_TCP.crlf);
35 END IF;
36 UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || '--' || UTL_TCP.crlf);
37 UTL_SMTP.close_data(l_mail_conn);
38 UTL_SMTP.quit(l_mail_conn);
39* END;
SQL> /
Procedure created.
SQL> ed
Wrote file afiedt.buf
1 declare
2 email_text varchar2(2000);
3 contract_end_date_v date := sysdate;
4 name_v varchar2(200) := 'Riaz';
5 begin
6 email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||' المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى <br/>.ولكم جزيل الشكر والتقدير </font></div>';
7 send_mail_test1('<email@domain>',
8 '<email@domain>',
9 'Hello',
10 'msg',
11 email_text,
12 '<smtp Server>',
13 25);
14* end;
SQL> /
PL/SQL procedure successfully completed.
Result*
????? Riaz ???????
???? ?????? ?????? ?? ????? ????? ??? ?????? ?????? 12-07-2011
.???? ???? ????? ????????I worked with Oracle support and was able to find solution. The helping document ids were: 752309.1 & 404389.1
-
I am needing to create a polished html email and then be able to send it out via Outlook. Similar to sending a mail merge in publisher but much more polished and html friendly. Does anyone have any suggestions on what programs that Adobe offers might help with that or any suggestions on the best way to get this accomplished? I really appreciate the help!!
HTML E-mails & Newsletters, what you need to know:
http://alt-web.com/Articles/HTML-Emails.shtml
Creating Cross Client HTML E-Mails in Dreamweaver -
http://www.adobe.com/devnet/dreamweaver/articles/html_emails.html
Nancy O. -
Visual Studio 2010 Sending a fully html email.
I would like to send a fully html email via Visual Studio, is this possible?
Here you go.
This is my old code for sending email on VB6. Unfortunately I don't have the reference of it.
you can download the required dll and OCX from the link below.
Please download them, the link will not be valid after Jan 01, 2015
also you need to read the code below and do some modification based on the objects on your form.
Please pay attention to the required reference as well.
Link
' Required declaration of the vbSendMail component (withevents is optional)
' You also need a reference to the vbSendMail component in the Project References
Private WithEvents poSendMail As vbSendMail.clsSendMail
Attribute poSendMail.VB_VarHelpID = -1
' misc local vars
Dim bAuthLogin As Boolean
Dim bPopLogin As Boolean
Dim bHtml As Boolean
Dim MyEncodeType As ENCODE_METHOD
Dim etPriority As MAIL_PRIORITY
Dim bReceipt As Boolean
Private Sub cmdSend_Click()
' This is where all of the Components Properties are set / Methods called
cmdSend.Enabled = False
lstStatus.Clear
Screen.MousePointer = vbHourglass
With poSendMail
' Optional properties for sending email, but these should be set first
' if you are going to use them
.SMTPHostValidation = VALIDATE_NONE ' Optional, default = VALIDATE_HOST_DNS
.EmailAddressValidation = VALIDATE_SYNTAX ' Optional, default = VALIDATE_SYNTAX
.Delimiter = ";" ' Optional, default = ";" (semicolon)
' Basic properties for sending email
.SMTPHost = txtServer.text ' Required the fist time, optional thereafter
.From = txtFrom.text ' Required the fist time, optional thereafter
.FromDisplayName = txtFromName.text ' Optional, saved after first use
.Recipient = txtTo.text ' Required, separate multiple entries with delimiter character
.RecipientDisplayName = txtToName.text ' Optional, separate multiple entries with delimiter character
.CcRecipient = txtCc ' Optional, separate multiple entries with delimiter character
.CcDisplayName = txtCcName ' Optional, separate multiple entries with delimiter character
.BccRecipient = txtBcc ' Optional, separate multiple entries with delimiter character
.ReplyToAddress = txtFrom.text ' Optional, used when different than 'From' address
.Subject = txtSubject.text ' Optional
.Message = txtMsg.text ' Optional
.Attachment = Trim(txtAttach.text) ' Optional, separate multiple entries with delimiter character
' Additional Optional properties, use as required by your application / environment
.AsHTML = bHtml ' Optional, default = FALSE, send mail as html or plain text
.ContentBase = "" ' Optional, default = Null String, reference base for embedded links
.EncodeType = MyEncodeType ' Optional, default = MIME_ENCODE
.Priority = etPriority ' Optional, default = PRIORITY_NORMAL
.Receipt = bReceipt ' Optional, default = FALSE
.UseAuthentication = bAuthLogin ' Optional, default = FALSE
.UsePopAuthentication = bPopLogin ' Optional, default = FALSE
.UserName = txtUserName ' Optional, default = Null String
.Password = txtPassword ' Optional, default = Null String, value is NOT saved
.POP3Host = txtPopServer
.MaxRecipients = 100 ' Optional, default = 100, recipient count before error is raised
' Advanced Properties, change only if you have a good reason to do so.
' .ConnectTimeout = 10 ' Optional, default = 10
' .ConnectRetry = 5 ' Optional, default = 5
' .MessageTimeout = 60 ' Optional, default = 60
' .PersistentSettings = True ' Optional, default = TRUE
' .SMTPPort = 25 ' Optional, default = 25
' OK, all of the properties are set, send the email...
' .Connect ' Optional, use when sending bulk mail
.Send ' Required
' .Disconnect ' Optional, use when sending bulk mail
txtServer.text = .SMTPHost ' Optional, re-populate the Host in case
' MX look up was used to find a host End With
End With
Screen.MousePointer = vbDefault
cmdSend.Enabled = True
End Sub
' The following four Subs capture the Events fired by the vbSendMail component
Private Sub poSendMail_Progress(lPercentCompete As Long)
' vbSendMail 'Progress Event'
lblProgress = lPercentCompete & "% complete"
End Sub
Private Sub poSendMail_SendFailed(Explanation As String)
' vbSendMail 'SendFailed Event
MsgBox ("Your attempt to send mail failed for the following reason(s): " & vbCrLf & Explanation)
lblProgress = ""
Screen.MousePointer = vbDefault
cmdSend.Enabled = True
End Sub
Private Sub poSendMail_SendSuccesful()
' vbSendMail 'SendSuccesful Event'
MsgBox "Notification Successful!"
lblProgress = ""
End Sub
Private Sub poSendMail_Status(Status As String)
' vbSendMail 'Status Event'
lstStatus.AddItem Status
lstStatus.ListIndex = lstStatus.ListCount - 1
lstStatus.ListIndex = -1
End Sub
Private Sub Form_Load()
On Error GoTo ErrHan
' Required to activate the vbSendMail component.
Set poSendMail = New clsSendMail
With Me
.Move (Screen.width - .width) / 2, (Screen.height - .height) / 2
.fraOptions.height = 2475
.lblProgress = ""
End With
cboPriority.AddItem "Normal"
cboPriority.AddItem "High"
cboPriority.AddItem "Low"
cboPriority.ListIndex = 0
CenterControlsVertical 100, False, txtServer, txtPopServer, txtFromName, txtFrom, txtToName, txtTo, txtCcName, txtCc, txtBcc, txtSubject, txtMsg, txtAttach, lstStatus, lblProgress
AlignControlsTop False, txtServer, lblServer, cmdSend
CenterControlsHorizontal 300, False, lblServer, txtServer, cmdSend
AlignControlsLeft False, lblServer, lblPopServer, lblFromName, lblFrom, lblToName, lblTo, lblCcName, lblCC, lblBcc, lblSubject, lblMsg, lstStatus, lblAttach, lblStatus
CenterControlRelativeVertical lblServer, txtServer
CenterControlRelativeVertical lblPopServer, txtPopServer
CenterControlRelativeVertical cmdSend, txtServer
CenterControlRelativeVertical lblFromName, txtFromName
CenterControlRelativeVertical cmdReset, txtPopServer
CenterControlRelativeVertical lblFrom, txtFrom
CenterControlRelativeVertical lblToName, txtToName
CenterControlRelativeVertical CmdExit, txtFrom
CenterControlRelativeVertical lblTo, txtTo
CenterControlRelativeVertical lblCcName, txtCcName
CenterControlRelativeVertical lblCC, txtCc
CenterControlRelativeVertical lblBcc, txtBcc
CenterControlRelativeVertical lblSubject, txtSubject
CenterControlRelativeVertical lblAttach, txtAttach
CenterControlRelativeVertical cmdBrowse, txtAttach
AlignControlsTop False, txtMsg, lblMsg
AlignControlsTop False, lstStatus, lblStatus
fraOptions.Top = txtTo.Top - 135
AlignControlsLeft True, txtServer, txtPopServer, txtFromName, txtFrom, txtToName, txtTo, txtCcName, txtCc, txtBcc, txtSubject, txtMsg, lstStatus, txtAttach, lblProgress
AlignControlsLeft True, cmdSend, cmdReset, CmdExit, cmdBrowse, fraOptions
lblPopServer.Visible = False
txtPopServer.Visible = False
Me.Show
RetrieveSavedValues
Exit Sub
ErrHan:
If Err.Number = 429 Then
' Shell ("regsvr32 /s C:\Utility\Ref\vbSendMail.dll")
' Shell ("regsvr32 /s C:\Utility\Ref\MSWINSCK.OCX")
reg_ = "regsvr32 /s N:\Pic\vbSendMail.dll"
Shell (reg_)
reg_ = "regsvr32 /s N:\Pic\\MSWINSCK.OCX"
Shell (reg_)
' reg_ = "regsvr32 /s " & App.Path & "\Ref\vbSendMail.dll"
' Shell (reg_)
' reg_ = "regsvr32 /s " & App.Path & "\Ref\MSWINSCK.OCX"
' Shell (reg_)
Resume Next
End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
' Unload the component before quiting.
Set poSendMail = Nothing
End Sub
Private Sub RetrieveSavedValues()
' Retrieve saved values by reading the components 'Persistent' properties
poSendMail.PersistentSettings = True
txtServer.text = poSendMail.SMTPHost
txtPopServer.text = poSendMail.POP3Host
txtFrom.text = poSendMail.From
txtFromName.text = poSendMail.FromDisplayName
txtUserName = poSendMail.UserName
optEncodeType(poSendMail.EncodeType).Value = True
If poSendMail.UseAuthentication Then ckLogin = vbChecked Else ckLogin = vbUnchecked
End Sub
Private Sub optEncodeType_Click(Index As Integer)
If optEncodeType(0).Value = True Then
MyEncodeType = MIME_ENCODE
cboPriority.Enabled = True
ckHtml.Enabled = True
ckReceipt.Enabled = True
ckLogin.Enabled = True
Else
MyEncodeType = UU_ENCODE
ckHtml.Value = vbUnchecked
ckReceipt.Value = vbUnchecked
ckLogin.Value = vbUnchecked
cboPriority.Enabled = False
ckHtml.Enabled = False
ckReceipt.Enabled = False
ckLogin.Enabled = False
End If
End Sub
Private Sub cboPriority_Click()
Select Case cboPriority.ListIndex
Case 0: etPriority = NORMAL_PRIORITY
Case 1: etPriority = HIGH_PRIORITY
Case 2: etPriority = LOW_PRIORITY
End Select
End Sub
Private Sub cboPriority_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case 38, 40
Case Else: KeyCode = 0
End Select
End Sub
Private Sub cboPriority_KeyPress(KeyAscii As Integer)
KeyAscii = 0
End Sub
Private Sub ckHtml_Click()
If ckHtml.Value = vbChecked Then bHtml = True Else bHtml = False
End Sub
Private Sub ckLogin_Click()
If ckLogin.Value = vbChecked Then
bAuthLogin = True
fraOptions.height = 3555
Else
bAuthLogin = False
If ckPopLogin.Value = vbUnchecked Then fraOptions.height = 2475
End If
End Sub
Private Sub ckPopLogin_Click()
If ckPopLogin.Value = vbChecked Then
bPopLogin = True
lblPopServer.Visible = True
txtPopServer.Visible = True
fraOptions.height = 3555
Else
bPopLogin = False
lblPopServer.Visible = False
txtPopServer.Visible = False
If ckLogin.Value = vbUnchecked Then fraOptions.height = 2475
End If
End Sub
Private Sub ckReceipt_Click()
If ckReceipt.Value = vbChecked Then bReceipt = True Else bReceipt = False
End Sub
Private Sub cmdBrowse_Click()
Dim sFilenames() As String
Dim i As Integer
On Local Error GoTo Err_Cancel
With cmDialog
.FileName = ""
.CancelError = True
.Filter = "All Files (*.*)|*.*|HTML Files (*.htm;*.html;*.shtml)|*.htm;*.html;*.shtml|Images (*.bmp;*.jpg;*.gif)|*.bmp;*.jpg;*.gif"
.FilterIndex = 1
.DialogTitle = "Select File Attachment(s)"
.MaxFileSize = &H7FFF
.Flags = &H4 Or &H800 Or &H40000 Or &H200 Or &H80000
.ShowOpen
' get the selected name(s)
sFilenames = Split(.FileName, vbNullChar)
End With
If UBound(sFilenames) = 0 Then
If txtAttach.text = "" Then
txtAttach.text = sFilenames(0)
Else
txtAttach.text = txtAttach.text & ";" & sFilenames(0)
End If
ElseIf UBound(sFilenames) > 0 Then
If Right$(sFilenames(0), 1) <> "\" Then sFilenames(0) = sFilenames(0) & "\"
For i = 1 To UBound(sFilenames)
If txtAttach.text = "" Then
txtAttach.text = sFilenames(0) & sFilenames(i)
Else
txtAttach.text = txtAttach.text & ";" & sFilenames(0) & sFilenames(i)
End If
Next
Else
Exit Sub
End If
Err_Cancel:
End Sub -
Why is my HTML email showing up wrong in different email account?
I've seen this before and I think it has to do with CSS (which I realize isn't supposed to be in emails), but I'm super new to this and have scoured the internet to find out exactly what I'm doing wrong and how to fix it. It shows up properly in my Yahoo acccount, but not in my Gmail accounts (which initially threw it in Spam, if that has anything to do with it). I only know the very basics of HTML and CSS, but still have get this work done and I'm assuming someone will be able to view the code and see what my issue is pretty quick - I hope! It previews in browsers just fine, it's only when I'm click "Forward to a Friend" to send it to myself to test.
See the HTML and screencaps of the difference in view below...
My HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Description" content="LandOf.org is a land use information salon for Minnesota developers, planners and the public to learn about growing smarter. LandOf.org covers everything along the transect from central cities to rural areas with topics such as mixed land use to stakeholder collaboration with experts, downloadable plans, case studies and images for each. LandOf.org is a mingling of voices that asks, “how can we do what’s best for Minnesota?”
" />
<title>Summer Reading List: Best of Smarting Off Blog</title>
<style type="text/css">
.rulebottom {
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #483225;
.ruleleft {
border-left-width: 1px;
border-left-style: dotted;
border-left-color: #483225;
.texta {
font-family: arial, helvetica, sans-serif;
font-size: 11px;
color: #483225;
.texta a {
font-family: arial, helvetica, sans-serif;
font-size: 11px;
color: #483225;
.titlea {
font-family: Arial, Helvetica, sans-serif;
font-size: 19px;
text-decoration: none;
color: #80CCA9;
.titleb {
font-family: Arial, Helvetica, sans-serif;
font-size: 19px;
text-decoration: none;
color: #154051;
.textblue {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
text-decoration: none;
color: #154051;
.bottominfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 16px;
color: #FFFFFF;
.border {
border: thin solid #7C5A45;
.text {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #977347;
line-height: 16px;
.intro {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 12px;
line-height: 16px;
color: #977347;
font-style: italic;
.publisher {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #3D1B01;
.text a {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #87C1A9;
line-height: 16px;
body {
background-color: #EAF5AE;
.text1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #171800;
line-height: 18px;
</style>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-2283394-35");
pageTracker._trackPageview();
} catch(err) {}</script>
</head>
<body>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#EAF5AE">
<tr>
<td><p align="center"> </p>
<p align="center"><span class="text">Summer reading list from LandOf.org. Having trouble viewing this email? <a href="http://www.landof.org/email/7-13.html" target="_blank" style="color:#6CA233">View it online.</a></span></p>
<table width="650" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td colspan="6"><div align="right"><a href="http://www.landof.org" target="_blank"><img src="http://www.landof.org/email/images/head.jpg" width="650" height="129" border="0" /></a></div></td>
</tr>
<tr>
<td width="26" rowspan="6" valign="top"><img src="http://www.landof.org/images/spacer.gif" width="25" height="1" /></td>
<td width="425" valign="top"></td>
<td width="14" rowspan="6" valign="top"><img src="http://www.landof.org/images/spacer.gif" width="14" height="1" /></td>
<td width="16" rowspan="6" valign="top"><img src="http://www.landof.org/images/spacer.gif" width="15" height="1" /></td>
<td width="150" rowspan="6" valign="top"><table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="150" height="3" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="150" height="3" border="0" cellpadding="0" cellspacing="0" bgcolor="#154051">
<tr>
<td></td>
</tr>
</table></td>
</tr>
<tr>
<td><p align="left"><br />
<img src="http://www.landof.org/email/images/blog-bubble.jpg" width="87" height="69" /><br />
</p>
<font style="color:#154051;font-family:Arial;font-size:8pt;font-weight:bold;line-height:10pt;"> THE LATEST FROM THE SMARTING OFF BLOG </font><br />
<br />
<font style="color:#154051;font-family:Arial;font-size:8pt;font-weight:normal;line-height:11pt; "><strong>Recommendations: Who to Check out on Facebook</strong><br />
<br />
The following are a few of our favorites to keep in touch with on Facebook. Like them too for resources, news and more.</font><br />
<br />
<font style="color:#154051;font-family:Arial;font-size:8pt;font-weight:normal;line-height:11pt; "><a href="http://blog.landof.org/2012/09/recommendations-who-to-like-on-facebook.html" target="_blank" style="color:#6CA233">Read more. »</a> </font> <br/>
<br />
<br/></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="3px" bgcolor="#154051" ></td>
</tr>
<tr>
<td><div align="center"> <a href="http://www.landof.org/email/12-12.html"><img src="http://www.landof.org/email/images/last-issue.jpg" alt="Read the last issue" width="150" height="208" border="0" /></a> </div></td>
</tr>
</table>
<a href="http://blog.landof.org/2011/02/celebrate-life-in-twin-cities-watch.html" target="_blank"></a></td>
<td width="20" rowspan="6" valign="top"><img src="../images/spacer.gif" width="20" height="1" /></td>
</tr>
<td valign="top"><img src="http://www.landof.org/email/images/recommended.jpg" alt="Recommended" width="425" height="75" /><br />
<table width="421" border="0" cellspacing="0" cellpadding="0">
</table></td>
</tr>
<tr>
<td valign="top"><p><strong><a href="http://blog.landof.org/2013/05/16-rules-for-growing-smarter-city.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">16 Rules for Growing a Smarter City</a></strong>
<p><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">Kaid Benfield—professor, nonprofit founder and author specializing in the topics of smart growth and sprawl—discusses the need for moving past simply advocating for smart growth to putting quality plans into action.<br />
<br />
<a href="http://blog.landof.org/2013/05/16-rules-for-growing-smarter-city.html" target="_blank" style="color:#6CA233">Read more.</a></font>
<hr noshade="noshade" size="1" />
<p><strong><a href="http://blog.landof.org/2013/05/northfield-named-as-having-complete.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Northfield Named as Having a "Complete Street Policy"</a></strong></p>
<p><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">There are 488 cities, states and regions with Complete Street policies in the US. In 2012, 130 new policies were passed. Northfield, MN has made the cut.<br />
<br />
<a href="http://blog.landof.org/2013/05/northfield-named-as-having-complete.html" target="_blank" style="color:#6CA233">Read more. »</a></font></p>
<hr noshade="noshade" size="1" />
<p><strong><a href="http://blog.landof.org/2013/05/walk-score-ranks-most-walk-and-bike.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Walk Score Ranks Most Walk- and Bike-Friendly US Cities</a></strong><br />
<br />
<font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">Where do the Twin Cities rank regarding their walking and biking scores? What cities are doing better? How can we improve?<br />
<br />
<a href="http://blog.landof.org/2013/05/walk-score-ranks-most-walk-and-bike.html" target="_blank" style="color:#6CA233">Read more. »</a></font></p>
<hr noshade="noshade" size="1" />
<p><strong><a href="http://blog.landof.org/2013/05/generation-y-prefers-walkable-downtown.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Generation Y Prefers Walkable Downtown Living—For Now</a></strong><br />
</p>
<table width="425" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="267"><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">People in the 18-to-34 age bracket currently prefer to rent in downtown areasover the suburbs and a sprawling yard. But what happens when they decide to raise families in larger homes?<br />
<br />
<a href="http://blog.landof.org/2013/05/generation-y-prefers-walkable-downtown.html" target="_blank" style="color:#6CA233">Read more. »</a></font></td>
<td width="18"> </td>
<td width="140" valign="top"><img src="http://www.landof.org/email/images/7-13-walkabledowntown2.jpg" width="140" height="105" alt="Downtown Mpls" /></td>
</tr>
</table>
<hr noshade="noshade" size="1" />
<p><strong><a href="http://blog.landof.org/2013/06/barcelona-fold-out-apartment-is-just.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Barcelona Fold-Out Apartment Is Just 250 Square Feet</a></strong><br /></p>
<p><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">This ingenious tiny studio apartment has everything a larger home does—a dining room, a kitchen, a bedroom, a lounge and more. How does it all fit into 250 square feet?<br />
<br />
<a href="http://blog.landof.org/2013/06/barcelona-fold-out-apartment-is-just.html" target="_blank" style="color:#6CA233">Read more. »</a></font></p>
<p> </p></td>
</tr>
</table>
<div align="center">
<p align="center"><a href="http://www.landof.org/email/forward/forwardplease.html" target="_blank"><img src="http://www.landof.org/email/images/forward.png" width="200" height="50" border="0" /></a></p>
<p align="center" class="texta"><a href="http://www.landof.org/privacy.html" target="_blank" style="color:#483225">Privacy Policy</a></p>
<font style="font-family:arial,helvetica,sans-serif;font-size: 11px;color:#483225;">To ensure you continue to receive this email, please add <a href="mailto:[email protected]" target="_blank" style="color:#483225">[email protected]</a> to your address book.<br />
Did someone forward this email to you? <a href="http://www.landof.org/contact.aspx" target="_blank" style="color:#483225">Sign up</a> to receive your own notifications from LandOf.org.<br />
<br />
<u><a href="mailto: [email protected]" target="_blank" style="color:#483225">Request more information or contact LandOf.org</a></u>.<br />
<br />
<a href="http://www.landof.org" target="_blank" style="color:#483225">www.LandOf.org</a> | ©2012 LandOf.org<br />
26 E. Exchange Street, Suite 206, St. Paul, MN 55101</font>
<p align="center" class="texta">
<!-- AddThis Button BEGIN -->
<a href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?pco=tbxnj-1.0&url=landof.org%2 Femail%2F10-12.html&pubid=xa-4feb7dd23fdf0efa" target="_blank" ><img src="http://cache.addthiscdn.com/icons/v1/thumbs/facebook.gif" border="0" alt="Facebook" /></a> <a href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?pco=tbxnj-1.0&url=landof.org%2F email%2F10-12.html&pubid=xa-4feb7dd23fdf0efa" target="_blank" ><img src="http://cache.addthiscdn.com/icons/v1/thumbs/twitter.gif" border="0" alt="Twitter" /></a> <a href="http://www.addthis.com/bookmark.php?source=tbxnj-1.0&=250&pubid=xa-4feb7dd23fdf0efa&ur l=landof.org%2Femail%2F10-12.html " target="_blank" ><img src="http://cache.addthiscdn.com/icons/v1/thumbs/more.gif" border="0" alt="More..." /></a>
<!-- AddThis Button END -->
</p>
<p align="center" class="texta"><a href="http://www.adsoka.com/w2e.html" target="_blank" style="color:#483225">Email by Adsoka</a></p>
</div></td>
</tr>
</table>
</body>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2283394-35']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
</script>
</html>
How it's supposed to show up:
How it's showing up in Gmail (Incorrectly! All the copy should be within the white box.):
Screencap from DW:
So, is it CSS causing this? Are the Tables setup incorrectly? Something not Inline? Not enough info for you? Gmail HATES ME?!
I'm just not seeing it and need to put the question out there while I continue to search for an anwer. Please respond!
Thanks!Many mail clients reject images, JavaScript and embedded CSS styles. For best results use plain text near the top to communicate your message and give a link to the actual web page on your server.
For mail clients that do have limited support for HTML, use uncomplicated tables and inline CSS rules (inside the body tag).
All that meta data description is a red flag to spam filters. You shouldn't be using meta description or keywords in e-mails.
The article below has some good tips & resources for reliable e-mail templates you could use:
http://alt-web.com/Articles/HTML-Emails.shtml
Nancy O. -
Help needed with creating HTML email in Dreamweaver
Hi everyone, would really appreciate some help with a dilemma or two that I have.
I have created the following newsletter in Dreamweaver and uploaded it to our website:
http://www.nova-design.co.uk/sales/000030.html
Now, when I go into my email mass mailing client (Handymailer) and send a test out, I encounter a couple of problems.
Firstly, in Outlook when I receive the email, the grey table on the right of the eshot, is crushed and a lot of the single line text is forced to go over two lines...
Secondly, in Hotmail, the table displays fine, but it does say that "This message is too wide to fit your screen. Show full message."
Once I click "Show full message" it displays in full, but I then need to scroll across to the middle of the browser to view the email.
If I left align the newsletter will this problem be solved? Or is there a way in Dreamweaver that I can edit the entire page size so that it's not too wide?
The table is 600px wide so I assumed that any email sent out would shrink to this size.
Any help would be greatly appreciated! This is the first full HTML email I have sent out so it's going to be far from perfect!mozza34 wrote:
I need to look into using inline css styles, I have no idea how to so need to read up on those.
I created a transparent GIF and placed it, but that moves my text down because the image is in the way? Am I doing that right?
Make the transparent gif 1px high.
Is it the links in the right column that go onto two lines? If so that could be because the links are wider than the actual column itself..so you will have to make column wider.
If you can't sort it, have a look at the code below, copy and paste into a new Dreamweaver document and test out. Inline css styling is used in the code below. I've masked your email so no spam bots get hold of it.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body style="background-color: #CCC;">
<table width="600" border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto;">
<tr>
<td width="412" style="font-family: arial, helvetica, sans-serif; font-size: 12px; padding: 10px 10px; background-color: #fff; vertical-align: top;">
<table width="392" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="text-align: center;"><img src="http://www.nova-design.co.uk/images/novalogo.jpg" alt="Nova Design" width="208" height="155" align="top" /></td>
</tr>
</table>
<p style="font-size: 16px; font-weight: bold;">September 2011 Update</p>
<p>Welcome to our September 2011 Newsletter! Keeping you up to date with all things Nova Design.</p>
<p><strong>New Addition</strong></p>
<p>We would like to welcome to our team Kieran Duggal. Kieran joins us from Schneider Electric and will be placed into a newly created recruitment role within the company.</p>
<p>With the contracting side of our business growing, Kieran will be looking after all things recruitment.</p>
<p>If you are currently looking for work in the field of engineering design, or if you are looking to take on contract or permanent design engineers, feel free to contact Kieran for a chat about current possibilities.</p>
<p> Kieran Duggal - Recruitment Executive<br />
<a href="mailto:[email protected]" style="color: #000;">
[email protected]</a><br />
01384 405 977</p>
<p><strong>Social Media</strong></p>
<p>Further expanding our Social Media horizons, we have decided to create a group on LinkedIn. Here we will be listing current vacancies and allowing people from the engineering world to take part in various discussions. Please make sure to join our group, as we will be looking to develop it over the coming months.</p>
<p><strong>Revamped Design Team</strong></p>
<p>We have recently taken on several enthusiastic, highly skilled graduates. We feel our current team of design engineers is stronger than ever, with a healthy mix of vast experience and youth. We are constantly searching for the best engineering talent in order to consistently provide our clients with high quality levels of work.</p>
<p><strong>Summary</strong></p>
<p>2011 has been a busy, exciting year so far and long may it continue. Our clients are what make us, and we would like to thank those of you who have placed business with us in the past.</p></td>
<td width="158" style="font-family: arial, helvetica, sans-serif; font-size: 12px; padding: 0 10px; background-color: #333; vertical-align: top;"><img src="../images/novalogo.jpg" alt="Nova Design" width="168" height="1" align="top" />
<p style="color: #fff;">
<strong>Nova Design Ltd</strong><br />
Watt House<br />
Innovation Centre<br />
Pensnett Trading Estate<br />
Kingswinford<br />
West Midlands<br />
DY6 7YD</p>
<p style="color: #fff;">T: +44 (0)1384 400 044<br />
F: +44 (0)1384 400 090</p>
<p style="color: #fff;">W: <a href="http://www.nova-design.co.uk" style="color: #fff;" target="_blank">www.nova-design.co.uk</a><br />
E: <a href="mailto:[email protected]" style="color: #fff;">[email protected]</a></p>
<table width="168" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="vertical-align: middle; padding: 7px 0; font-size: 12px;"><a href="http://www.facebook.com/novadesignuk" target="_blank"><img src="http://www.nova-design.co.uk/images/facebook.gif" alt="Facebook" width="25" height="25" align="absmiddle" style="border: none;" /></a> <a href="http://www.facebook.com/novadesignuk" style="color:#fff;" target="_blank">Facebook</a></td>
</tr>
<tr>
<td style="vertical-align: middle; padding: 7px 0; font-size: 12px;"><a href="http://twitter.com/novadesignuk" target="_blank"><img src="http://www.nova-design.co.uk/images/twitter.gif" alt="Twitter" width="25" height="25" align="absmiddle" style="border: none;"/></a> <a href="http://twitter.com/novadesignuk" style="color:#fff;" target="_blank">Twitter</a></td>
</tr>
<tr>
<td style="vertical-align: middle; padding: 7px 0; font-size: 12px;"><a href="http://www.linkedin.com/groups?about=&gid=4002529&trk=anet_ug_grppro" target="_blank"><img src="http://www.nova-design.co.uk/images/linkedin.gif" alt="LinkedIn" width="25" height="25" align="absmiddle" style="border: none;"/></a> <a href="http://www.linkedin.com/groups?about=&gid=4002529&trk=anet_ug_grppro" style="color:#fff;" target="_blank">LinkedIn</a></td>
</tr>
<tr>
<td style="vertical-align: middle; padding: 7px 0; font-size: 12px;"><a href="http://www.nova-design.co.uk/blog/?feed=rss2" target="_blank"><img src="http://www.nova-design.co.uk/images/rss.gif" alt="RSS" width="25" height="25" align="absmiddle" style="border: none;" /></a> <a href="http://www.nova-design.co.uk/blog/?feed=rss2" style="color:#fff;" target="_blank">RSS Feeds</a></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html> -
HTML email and attachments don't work
I have programmed a simple PHP script to format a web page form response and send an email message as a report to my client as an HTML email, plain text alternate part, and with a small attachment. My client, using Apple Mail on OS X, only sees a plain text dump of the entire email message, headers and all. His mail client shows other people's messages of this sort properly. The hitch is that I can't figure this one out, because the same mails, when sent to other people, are perfect. They display properly in Windows email programs, and other people's Mac-based mail programs, and perfectly on any web mail interfaces I can find (e.g. Horde, etc). Does anybody have any suggestions as to what might be going on in this instance? (My customer has standard Apple Mail running in some recent flavor of Mac OS X).
BudsyThere is probably something wrong with your message. Send one to me at info at etresoft dot com and I should be able to tell you what it is.
-
I have the latest Thunderbird installed on a new 64-bit Winblows Eight netbook.. fantastic program, but one problem is driving me absolutely batty, and after using the latest Thunderbird for weeks, I simply can't figure out how to fix it..
I'm on a lot of mfr. and other kinds of mailing lists, like eBay watch list alerts, and so on.. these are not s p a m (although I get plenty of that.. who doesn't).. but lists I WANT to be on..
Many such emails from those mailing lists are in HTML format with embedded graphics.. I'm not talking about graphic file attachments, but embedded graphics which are coming from the senders' servers, and appear AS a graphic in the email.. sometimes such emails are one huge graphic with hardly any text.. all well and good..
However, here's the problem.. when I want to forward such an email to a friend, Thunderbird ALWAYS formats it as plain ASCII text.. I know this because I look in the "sent mail" folder, and can see that it has turned an HTML email with embedded graphics into plain ASCII text..
I absolutely can't figure out how to get it to forward an HTML email with embedded graphics INTACT, so the sender receives it looking the way it looks when I receive it from a mailing list, or an advertiser, or eBay, or whoever..
Is Thunderbird capable of forwarding an HTML email with embedded graphics INTACT?.. If so, how / where do I turn on that capability?..
If the capability to do this isn't built into the program, is there an add-on I can install that will give it that ability?..
I am not new to computers.. but this really has me stumped.. I want to put Thunderbird on my 32-bit Vista laptop and stop using its horrible "Windoze Mail" program, which I've been using for years, and is slower than snot, and has all kinds of other problems..
So, assuming whoever reads this FULLY understands my question, PLEASE tell me how to get Thunderbird to have the ability to forward an HTML email with embedded graphics AS-IS, so the receiver(s) I forward it to see it exactly the way I see it when I receive it.. if that ability is built in, please tell me how to turn it on.. if that ability is not built-in, please tell me what add-on I need to install to give Thunderbird this capability.. if Thunderbird absolutely can't forward an HTML email with embedded graphics at all, please also tell me that..
A virtual box of candy and a dozen long-stemmed roses to anyone who can give me a solution that works..
Thanks..Dear Mr. Toad (my all-time favorite ride at Disneyland ;-) ..
Thanks so much for your detailed reply.. my netbook is in the bedroom, turned off.. I (so far) only use it in the evening, in the bedroom.. I've saved your response, and will try your suggestions, and let you know if they solve the problem I described. I really appreciate you taking the time to post such a detailed reply..
I can't answer your Thunderbird "configuration" questions, because I'm in the living room, using the crap Vista laptop, on which I plan to install Thunderbird, and then take Windoze Mail out in the street and drive over it a few times.. I'll get back to you one way or the other, and let you know if your instructions solved the problem, or not..
I don't understand why Thunderbird "out of the box", so to speak, simply doesn't forward HTML emails with embedded graphics, (like Outlook Excess, and Winblows Mail do).. without having to go through those steps. I personally HATE HTML email, but over the years, it's become more and more prevelant.. so it's a problem I must fix..
Thanks again..
Harv.. -
Possible to save HTML email as HTML?
Is it possible to take an html email I've received and save it as html for easy conversion to a webpage? This is a weekly newsletter (someone else creates it) that gets emailed to people and then put up on the group's website (that I'm in charge of). I've been just saving it as plain text and having to reapply all the formatting once I get it into Dreamweaver, but it seems rather redundant. Any help would be hugely appreciated.
I have a shareware program that should do what you want. I don't want to use Apple's discussion board to promote my own software though. Just do a search on "etresoft" and you should find it/me. Contact me via e-mail if you want more info.
-
HTML eMail no longer works after change from 8100 to 8310
Hello all,
I have a Pearl 8100, which I upgraded successfully to version 4.5. Then I could receive and read HTML eMail, very nice.
Now I got a Curve 8310 which I also upgraded to 4.5 supporting HTML eMail. In BIS I changed the PIN and IMEI numbers and the new device was registered.
Now when I set eMail format to HTML and receive an HTML eMail, it only shows some lines (in nice new HTML) or even nothing and a hint, that more data is available with the number of bytes left. If I select the "More" option on the device, a transfer of data starts, showing that the Curve receives more data. Then the More-Data-Hint shows that only still one byte more is available, but the message still looks the same, showing only the first lines or even nothing. Repeating getting more data does not help. Seems the device has some problem parsing the data.
What I already tried:
- Hard reset of the device
- Delete all service books
- Resend service books from BIS
- Enable/Disable HTML mail on device
None of them helped.
Network is German Vodafone. Both devices (Pearl and Curve) run Vodafone software.
By the way: If I switch to text mode, I can see the whole message, but of course unformatted in the old format. Switching back to HTML again shows only part of the message or nothing.
Does anyone have an idea what happened? Or who can I ask? There is no support hotline for private people on blackberry site.
Thanks in advance.
Joerg.
Solved!
Go to Solution.You can't delete the whole account, just the BIS email accounts.
In this order, After deleting them, also delete the service books on your BB.
Reboot the BB, (battery out, replace and reboot).
Look and confirm the SBs are gone.
Now, reset up the email accounts in the BIS, and send the SBs again if needed.
You should get new registration messages on the BB... and you might need to do a battery bpull reboot again.
This process, in this order, will assure you get the NEW service books, rather than just writing over old ones.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
How to send HTML email in Mail?
Hello All,
I would like to write an email in HTML, just copy and paste the HTML code into mail, and have it sent as HTML. How do I have mail do this? Thanks!You can't do that; or rather, you can, but it won't work. You can view you r HTML file in Safari, then use the 'Mail Contents of This Page' option and Safari will insert the rendered HTML. But if your recipient doesn't have their mail program setup to view HTML email, they won't see whatever it is you're trying to accomplish.
Mulder -
Sender Mail Adapter able to retrieve HTML emails?
Hi there,
I stamped over an issue that look like an adapter limitation, would like to hear you opinions.
We´re using a POP3 account configured in a Sender Mail Communication Channel with XIPAYLOAD, with this attempts:
- with or without the Mail Package;
- any type of encoding;
- must keep attachments.
In all of this options always the retrieved email from the POP Server comes in TEXT format.
Does the Mail Adapter support HTML emails?
Does the Mail Adapter support mixed/alternative Content-Type?
>Current version: SAP PI 7.0 SP14
>Mail Server: Lotus Domino 7.0.x
Regards,
Marlo Simon.Ok,
I´m using the Sender Mail Scenario.
I tried the MessageTransformBean (Transform.ContentType) to force the Content-type to text/html and it made no difference.
Is there any Advanced parameter that would help? No docummentation from SAP on those ones.
I want to keep the original email body, but looks like the adapter only read plain text.
Rgds,
Marlo Simon.
Edited by: Marlo Simon on Feb 5, 2010 2:23 PM -
I searched the forums and haven't found a good answer yet. I created a page in iWeb that I want to send out as a newsletter email. I think I need to change the source of the images, etc so that the links won't be broken. Does this include all text boxes, images, pretty much everything on my page? What's the easiest way to do this?
Thanks in advance for your help/suggestions.While viewing the web page you want to send in Safari type Command+i. That will take you to Mail with the web page as HTML. You can place the cursor at the very beginning to add text at the start or at the end. Not all email clients will display HTML emails So include a hyperlink to the page so those people can visit the page for the information.
OT
Maybe you are looking for
-
How can i configure the netmask in solaris 11 the netmask needs to be 255.255.255.128 ?
-
I wanted to know if it would be possible to do something like this in t-sql. I want to create a stored procedure which takes a list of invoice numbers and uses it as a parameter for my stored procedure PARAMETER = @INVOICES NVARCHAR UPDATE INVOICES S
-
Hyperion download using GR55 for ZCCY reports
Hello Gurus, When I was downloading hyperion report using transaction GR55 for ZCCY report, the download was showing large amount in Debit (Fixed cost) and large amount in Credit( Variable cost) for the same account number which ordinarilly should n
-
Need to "move" the Help|Personalize|Logoff links below masthead
I need to move the links Help/Personalize/Logoff from the masthead to below the masthead. This is what I did: 1. hid the links in the masthead by using the "Show..." properties of the masthead iView 2. created a new iview with the links Help/Persoanl
-
Help!! Can't open my Apple ID after restoring what should I do?
i restored my iPad 2 one week ago and I can't open my apple ID I tried like 50 times and I went to the support page and they didn't help me. IF I'll go to Apple store, could they reset my iPad?