Page 1 of 1

test vs html multipart

Posted: Thu Nov 22, 2007 8:02 pm
by choubix
hello,

I will send a multipart message as part of my "I try to avoid my emails being sent to the Junk folder" ;)

just a couple of questions:
is it possible to format the text message?
how do I embed links in the text message?

can I send 2 html messages on top of the text message? (one with a template, one without)

ps: I managed to get my reverse dns right: pining ing my fixed ip address address points to smtp.mydomain.com !! :)

just need the spf record and i am good to go ;)

by the way:

does this syntax look ok?

"v=spf1 a a:smtp.mydomain.com mx:smtp.mydomain.com ~all"

should it point to smtp.mydomain.com or to mydomain.com ?

thanks!

Posted: Fri Nov 23, 2007 1:41 am
by Chris Corbyn
You can send more than one HTML part if you want to but most email clients won't like it so I'd avoid it. Generally clients will just choose between HTML or text.

The SPF record has the correct syntax yes. You'd want that SPF record setting against the domain in the email address. i.e.:

user@mydomain.com

Needs the SPF record applying as a TXT field to "mydomain.com".

Posted: Fri Nov 23, 2007 2:09 am
by choubix
hi chris,

honestly there must be something I dont get right:
I am testing the spf records thanks to 2 sites. the 2 of them disagree...

for one: the email would bounce, for the other one the syntax is ambiguous because there is no A record
(there is a A and MX record for both smtp.mydomain.com and mydomain.com)

syntaxes I tried were:

v=spf1 mx -all

v=spf1 a mx -all

v=spf1 mx ~all"

v=spf1 a mx ~all