Hi,
Just wondering if anyone worked out a solution for emails being classed as SPAM (on gmail.com, in my case) - sent via Links::send_email(). The code is:
That works fine, and the email is definatly sent out - but its just put in the spam folder, instead of my Inbox :(
The email template is as follows:
Subject: Thanks for your purchase. Order confirmation: <%custom%>
From: <%config.db_admin_email%>
Content-Type: text/html
<html>
<head>
<meta http-equiv="Content-Language" content="en-gb">
</head>
<body>
<p>Hi,</p>
<p>Thanks for your purchase of a "priority listing" on our site. You should now
be able to see your listing in its peak spot, at the top of your category (even
on sub-pages of the given category). The priority status will expire on <%Expires%></p>
<p>The details of your purchase are as follows:</p>
<p><b>Payment Date:</b> <%payment_date%></p>
<p><b>First Name:</b> <%first_name%><br>
<b>Last Name:</b> <%last_name%><br>
<br>
<b>Country:</b> <%residence_country%></p>
<p><b>Item Name:</b> <%item_name%></p>
<p><b>Payment Amount:</b> <%payment_gross%><br>
<b>Currency:</b> USD</p>
</font>
<p>We would like to take this time to thank you again for your purchase, and we
hope it brings you much traffic!</p>
<p>Cheers</p>
<p><%site_title%></p>
</body>
</html>
Am I missing a header tag or something?
TIA! This one has been bugging me all day
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Just wondering if anyone worked out a solution for emails being classed as SPAM (on gmail.com, in my case) - sent via Links::send_email(). The code is:
Code:
Links::send_email("priority_thanks.eml", { %$IN, %$link, %$USER } ) or die "Unable to send message: $GT::Mail::error";That works fine, and the email is definatly sent out - but its just put in the spam folder, instead of my Inbox :(
The email template is as follows:
Code:
To: <%if Email%><%if Name%>"<%Name%>" <<%Email%>><%else%><%Email%><%endif%><%elsif Name%>"<%Name%>" <<%Email%>><%else%><%Email%><%endif%> Subject: Thanks for your purchase. Order confirmation: <%custom%>
From: <%config.db_admin_email%>
Content-Type: text/html
<html>
<head>
<meta http-equiv="Content-Language" content="en-gb">
</head>
<body>
<p>Hi,</p>
<p>Thanks for your purchase of a "priority listing" on our site. You should now
be able to see your listing in its peak spot, at the top of your category (even
on sub-pages of the given category). The priority status will expire on <%Expires%></p>
<p>The details of your purchase are as follows:</p>
<p><b>Payment Date:</b> <%payment_date%></p>
<p><b>First Name:</b> <%first_name%><br>
<b>Last Name:</b> <%last_name%><br>
<br>
<b>Country:</b> <%residence_country%></p>
<p><b>Item Name:</b> <%item_name%></p>
<p><b>Payment Amount:</b> <%payment_gross%><br>
<b>Currency:</b> USD</p>
</font>
<p>We would like to take this time to thank you again for your purchase, and we
hope it brings you much traffic!</p>
<p>Cheers</p>
<p><%site_title%></p>
</body>
</html>
Am I missing a header tag or something?
TIA! This one has been bugging me all day

Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!